E: / Tomcat552/conf/web.xml, add a sentence
javaEncoding param-name>
GB18030 param-value>
init-param>
Solve Chinese display issues.
Test.jsp:
<% @ Page ContentType = "Text / HTML; Charset = UTF-8"%>
title> HEAD> <% = new java.util.Date ()%>
If the input is a headache !!! 00000000 Traditional yet ???
< % String enc = system.getProperty ("file.encoding"); out.println (ENC);%> body> html>