<%@ page contentType="text/html; charset=Shift_JIS" %> <html> <head> <title>Hello Worldを日本語で出力</title> </head> <body> <% String s = "こんにちわ 世界"; out.println(s); %> </body> </html>