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

郑重声明:本站内容如果来自互联网及其他传播媒体,其版权均属原媒体及文章作者所有。转载目的在于传递更多信息及用于网络分享,并不代表本站赞同其观点和对其真实性负责,也不构成任何其他建议。