servlet乱码问题~~~






servlet出现乱码改了也不行!!
protected void processRequest(HttpServletRequest request, HttpServletResponse response)
throws ServletException, IOException {
response.setContentType("text/html;charset=GB2312");
request.setCharacterEncoding("gb2312");
PrintWriter out = response.getWriter();
加上这两行也不行啊,为什么呢??
怎么改呀