你好好看看j2ee的文档吧
The servlet container creates an HttpServletRequest object and passes it as an argument to the servlet's service methods (doGet, doPost, etc). 

解决方案 »

  1.   

    setCharacterEncoding
    public void setCharacterEncoding(String env)
                              throws UnsupportedEncodingException
    Overrides the name of the character encoding used in the body of this request. This method must be called prior to reading request parameters or reading input using getReader(). Parameters:
    env - a String containing the name of the chararacter encoding. 
    Throws: 
    UnsupportedEncodingException - if this is not a valid encoding