(ssh2整合)web.xml
2011-06-20 12:50
120 查看
<?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>
<listener>
<listener-class>
org.springframework.web.context.ContextLoaderListener
</listener-class>
</listener>
<context-param>
<param-name>contextConfigLocation</param-name>
<!--
<param-value>classpath:applicationContext*.xml</param-value>
-->
<param-value>
classpath:applicationContext*.xml,
classpath:/gssw/t5306/oa/*/*/*Context*.xml
</param-value>
</context-param>
<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>
<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>
<listener>
<listener-class>
org.springframework.web.context.ContextLoaderListener
</listener-class>
</listener>
<context-param>
<param-name>contextConfigLocation</param-name>
<!--
<param-value>classpath:applicationContext*.xml</param-value>
-->
<param-value>
classpath:applicationContext*.xml,
classpath:/gssw/t5306/oa/*/*/*Context*.xml
</param-value>
</context-param>
<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>
相关文章推荐
- Spring+Jetty+Jersey+Mybatis整合教程 无web.xml 、webapp版
- ssm框架整合配置---web.xml,傻傻分不清楚
- SSM(spring-springmvc-mybatis)整合开发xml配置文件内容springmvc-config.xml,application.xml,web.xml
- ssh整合中web.xml配置文件
- web.xml包含struts2整合spring3以及配置log4j和数据连接池
- Hibernate3.5.4---web application的xml和annotation环境搭建,整合struts2.1.8
- ssh整合web.xml书写
- Spring+Jetty+Jersey+Mybatis整合教程 无web.xml 、webapp版
- springMvc整合中web.xml常用总结及问题
- maven多环境配置整合web.xml
- JAVAWEB开发之Spring详解之——Spring的入门以及IOC容器装配Bean(xml和注解的方式)、Spring整合web开发、整合Junit4测试
- 【Spring整合Struts2】Could not open ServletContext resource [/WEB-INF/application.xml]错误解决
- SpringMVC+Hibernate+jQuery+js+css+jsp+nginx整合时,(1)jsp引入js,css无效;(2)插入数据库时某字段为空;(3)web.xml配置完后,从数据库读数
- 关于SSH框架整合中web.xml文件的配置详解
- 关于flex和spring+hibernate整合web.xml的错误
- SSH三大框架整合问题--Could not open ServletContext resource [/WEB-INF/applicationContext.xml]
- Struts2 + Spring + Hibernate 整合 web.xml的一般配置
- SSH 整合 web.xml
- ssh整合web.xml过滤器和监听器的配…
- Java Web整合开发(13) -- XML