[SSH框架初学笔记]web.xml文件的基本配置
来源:互联网 发布:奔奔数码淘宝王奔宏 编辑:程序博客网 时间:2024/05/17 08:41
详细配置如下,如后面再项目中遇到具体问题,再行配置
<?xml version="1.0" encoding="UTF-8"?><web-app version="3.0" 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_3_0.xsd"> <display-name></display-name> <welcome-file-list> <welcome-file>index.jsp</welcome-file> </welcome-file-list> <!-- 配置spring的监听器 --> <context-param> <param-name>contextConfigLocation</param-name> <param-value>/WEB-INF/applicationContext*.xml</param-value> </context-param> <!-- 开启监听 --> <listener> <listener-class> org.springframework.web.context.ContextLoaderListener </listener-class> </listener> <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>
0 0
- [SSH框架初学笔记]web.xml文件的基本配置
- ssh项目中,对于spring的bean.xml和web.xml文件的基本配置
- SSH中web.xml文件的配置
- 关于SSH框架整合中web.xml文件的配置详解
- WEB.xml文件的基本配置
- 整合ssh框架的web.xml中的配置节
- [SSH框架初学笔记]ssh环境搭建及配置
- ssh框架整合 web.xml配置
- SSH框架中web.xml配置
- ssh的web.xml配置
- SSH配置初学笔记
- SSH框架中applicationContext.xml文件的配置
- ssh框架web的配置
- ssh的web.xml文件
- [学习笔记]jsp web.xml文件的作用及基本配置
- ssh中web.xml文件配置备份
- web.xml文件初学
- ssh整合!Struts.xml、hibernate与spring整合的applicationContext.xml、web.xml文件的配置!
- Failed to convert value of type...no matching editors or conversion strategy found
- Javascript自学-7
- linux 常见测试题
- 我到底是做前端的还是后端的
- sudo 和 su 的区别
- [SSH框架初学笔记]web.xml文件的基本配置
- Git / Gitlab 奇淫技巧
- 24-2015年终总结
- C#Winform动态读取App.Config文件
- 如何写PRD (附PRD案例)
- 19. Remove Nth Node From End of List
- hdu4280Island Transport
- vs 2015使用时有Cannot find one or more components.
- 如何检查STM32的HardFault_Handler故障