谁知道JSP过滤器如何配置web.xml
1个回答
2013-11-08
展开全部
你自己看。。。<filter>
<filter-name>CharFilter</filter-name>
<filter-class>com.filter.CharFilter</filter-class>
<init-param>
<param-name>encoding</param-name>
<param-value>GBK</param-value>
</init-param>
</filter><filter-mapping>
<filter-name>CharFilter</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
<filter-name>CharFilter</filter-name>
<filter-class>com.filter.CharFilter</filter-class>
<init-param>
<param-name>encoding</param-name>
<param-value>GBK</param-value>
</init-param>
</filter><filter-mapping>
<filter-name>CharFilter</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询