public class EncodeServ extends HttpServlet {
public void doGet(HttpServletRequest req,
HttpServletResponse res)
throws ServletException, IOException {
res.setContentType("text/html; charset=Windows-31J");
req.setCharacterEncoding("Windows-31J");
-----------------------------
-----------------------------
|