通用Struts2 配置文件Filter--web-xml
2012-10-01 10:39
537 查看
<?xml version="1.0" encoding="UTF-8"?> <web-app version="2.5" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"> <welcome-file-list> <welcome-file>index.jsp</welcome-file> </welcome-file-list> <filter> <filter-name>struts2</filter-name> <filter-class>org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter</filter-class> </filter> <filter-mapping> <filter-name>struts2</filter-name> <url-pattern>/*</url-pattern> </filter-mapping> </web-app>
相关文章推荐
- 创建filter,及web.xml文件配置
- shh整合后web.xml、spring配置文件和struts.xml的内容
- shh整合后web.xml、spring配置文件和struts.xml的内容
- [转]Struts配置文件详解,web.xml以及struts-cofig.xml,以及struts-cofig.xml中各个标签的作用。
- Struts1.2总结,web.xml、.properties资源文件的配置
- Struts 项目中web.xml文件配置
- struts2 的web.xml 配置文件报错org.apache.struts2.impl.StrutsActionProxy.getErrorMessage(StrutsActionProxy.java:69)
- Struts配置文件详解,web.xml以及struts-cofig.xml,以及struts-cofig.xml中各个标签的作用
- Struts2.0配置文件(web.xml) .
- web.xml文件中配置(servlet, spring, filter, listenr)的加载顺序 研究
- web.xml文件中配置( listenr, filter,servlet, spring)的加载顺序 研究(转)
- Struts配置文件-web.xml
- web.xml文件中filter配置详解
- Struts配置文件之web.xml
- java中对于web.xml文件,filter的配置解释
- 为struts文件配置web.xml
- Struts2.0配置文件(web.xml)
- Struts2.0配置文件(web.xml)
- 基于注解的Struts2+Spring2.5+Hibernate3.3的Spring 配置文件,struts配置文件,web.xml配置文件的例子
- Struts 项目中web.xml文件配置