jsp乱码

在tomcat的web.xml 中<web-app>下添加 

 

 

<jsp-config>
  <jsp-property-group>
   <description>
    Special property group for JSP Configuration JSP  example.
   </description>
   <display-name>JSPConfiguration</display-name>
   <url-pattern>*.jsp</url-pattern>
   <el-ignored>false</el-ignored>
   <page-encoding>UTF-8</page-encoding>
   <scripting-invalid>false</scripting-invalid>
   <include-prelude></include-prelude>
   <include-coda></include-coda>
   <description>
    Special property group for JSP Configuration JSP  example.
   </description>
   <display-name>JSPConfiguration</display-name>
   <url-pattern>*.html</url-pattern>
   <el-ignored>true</el-ignored>
   <page-encoding>UTF-8</page-encoding>
   <scripting-invalid>false</scripting-invalid>
   <include-prelude></include-prelude>
   <include-coda></include-coda>
  </jsp-property-group>
 </jsp-config>

你可能感兴趣的:(jsp)