jsp静态引入(<%@ include file=""%>) 乱码问题

在web.xml中的web-app中加入这段话:

 

 1 <jsp-config>
 2     <jsp-property-group>   
 3         <display-name>JSPConfiguration</display-name>   
 4         <url-pattern>*.jsp</url-pattern>   
 5         <el-ignored>true</el-ignored>   
 6         <page-encoding>utf-8</page-encoding>   
 7         <scripting-invalid>false</scripting-invalid>   
 8         <include-prelude></include-prelude>   
 9         <include-coda></include-coda>   
10      </jsp-property-group>
11       <jsp-property-group>
12         <display-name>JSPConfiguration</display-name>   
13         <url-pattern>*.html</url-pattern>   
14         <el-ignored>true</el-ignored>   
15         <page-encoding>utf-8</page-encoding>   
16         <scripting-invalid>false</scripting-invalid>   
17         <include-prelude></include-prelude>   
18         <include-coda></include-coda>
19     </jsp-property-group>
20   </jsp-config>
View Code

 

posted @ 2014-01-26 12:44  -六月飞雪-  阅读(991)  评论(0编辑  收藏  举报