web.xml整合s2sh内容
2015-09-22 12:36
281 查看
<?xml version="1.0" encoding="UTF-8"?> <web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd" id="WebApp_ID" version="3.0"> <display-name>itheima11_ssh</display-name> <listener> <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class> </listener> <context-param> <param-name>contextConfigLocation</param-name> <param-value>classpath:spring/applicationContext.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>
相关文章推荐
- php生成加减法验证码
- 面向对象案例
- context-param引发spring容器以及servlet容器的关联
- cocos进阶教程(2)多分辨率支持策略和原理
- hihoCoder #1227 : The Cats' Feeding Spots
- CyclicBarrier
- Javascript浅谈之表达式和语句的区别
- hosts配置
- C#中的委托 Delegate(委托 也叫代表,代表一类方法)
- Calendar 类的 add() 和roll方法详解
- 大数据的单词统计
- AngularJs的认识
- iOS UI基础-13.0 数据存储
- 类的继承
- Leetcode Multiply Strings
- LCD错误
- c#中如何截取Windows消息来触发自定义事件
- dom 规划(html和xml)
- poj3294Life Forms
- Intent中的四个重要属性——Action、Data、Category、Extras