printf(" H H EEEE L OO W W W OO RRR L DDD !! "); printf(" H H E L O O W W W O O R R L D D !! "); printf(" HHHH EEEE L O O W W W O O RRR L DDD !! "); printf(" H H E L O O W W W O O R R L D D "); printf(" H H EEEE LLLL OO W W OO R R LLLL DDD !! ");
public class TestServlet3 extends HttpServlet { public void doGet( HttpServletRequest req, HttpServletResponse res ) throws IOException,ServletException { res.setContentType("text/html"); OutputStreamWriter osw = new OutputStreamWriter( res.getOutputStream(), "SJIS" ); PrintWriter out = new PrintWriter( osw );