Pageencoding is the encoding of the JSP file itself
ContentType CharSet refers to the content encoding when the server is sent to the client
JSP to pass two times "coding", the first stage will use Pageencoding, the second stage will use Utf-8 to Utf-8, the third stage is the Web page from Tomcat, with the ContentType.
The first stage is that the JSP is compiled into. Java, which reads the JSP according to the pageencoding setting, and the result is translated by the specified encoding scheme into a unified UTF-8 Java source code (ie. java), if the pageencoding set wrong, or not set, out of the Chinese garbled.
The second stage is compiled by Javac Java source code to Java bytecode, no matter what coding scheme is used when JSP is written, the result of this stage is all UTF-8 encoding Java source code.
The difference between pageencoding and CharSet