Alé*_*lén 5 java jsp web.xml utf-8
我已经包含<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>在一个jsp页面中,它正确地显示了法语字符.但我想将页面编码包含在所有jsp页面中.在web.xml我包括
<jsp-config>
<jsp-property-group>
<url-pattern>*.jsp</url-pattern>
<page-encoding>UTF-8</page-encoding>
</jsp-property-group>
</jsp-config>
Run Code Online (Sandbox Code Playgroud)
但它适用于tomcat7我正在使用tomcat6.
还有其他解决方案吗?