web.xml配置文件
来源:互联网 发布:网络黄金egd充值 编辑:程序博客网 时间:2024/06/03 23:48
<?xml version="1.0" encoding="UTF-8"?><web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://xmlns.jcp.org/xml/ns/javaee" xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-app_3_1.xsd" id="WebApp_ID" version="3.1"> <display-name>HSManager</display-name> <!-- 配置Spring --> <listener> <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class> </listener> <context-param> <param-name>contextConfigLocation</param-name> <param-value>classpath:/config/spring.xml</param-value> </context-param> <!-- 配置Spring MVC --> <servlet> <servlet-name>spring-dispatcher</servlet-name> <servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class> <init-param> <param-name>contextConfigLocation</param-name> <param-value>classpath:/config/spring-dispatcher-servlet.xml</param-value> </init-param> <load-on-startup>1</load-on-startup> </servlet> <servlet-mapping> <servlet-name>spring-dispatcher</servlet-name> <url-pattern>/</url-pattern> </servlet-mapping> <!-- 验证码 --> <servlet> <servlet-name>Kaptcha</servlet-name> <servlet-class>com.google.code.kaptcha.servlet.KaptchaServlet</servlet-class> <init-param> <param-name>kaptcha.border</param-name> <!-- 是否有边框 --> <param-value>no</param-value> </init-param> <init-param> <param-name>kaptcha.textproducer.char.space</param-name> <!--字符之间的间距 --> <param-value>8</param-value> </init-param> <init-param> <param-name>kaptcha.textproducer.char.length</param-name> <!-- 字符的个数 --> <param-value>4</param-value> </init-param> </servlet> <servlet-mapping> <servlet-name>Kaptcha</servlet-name> <url-pattern>/Kaptcha.jpg</url-pattern> </servlet-mapping> <welcome-file-list> <welcome-file>index.html</welcome-file> <welcome-file>index.htm</welcome-file> <welcome-file>index.jsp</welcome-file> <welcome-file>default.html</welcome-file> <welcome-file>default.htm</welcome-file> <welcome-file>default.jsp</welcome-file> </welcome-file-list></web-app>
阅读全文
0 0
- Webwork2 WEB.xml配置文件
- Tomcat 配置文件web.xml
- web.xml 配置文件详解
- web.xml 配置文件
- web.xml配置文件总结
- web.xml配置文件
- 配置文件web.xml小结
- Tomcat web.xml配置文件
- web.xml配置文件
- Tomcat web.xml配置文件
- j2ee web.xml配置文件
- 配置文件web.xml详解
- web.xml配置文件详解
- Web.xml 配置文件详解
- web.xml配置文件
- web.xml配置文件
- web.xml配置文件概述
- Tomcat web.xml配置文件
- Spring中的AOP(五)——在Advice方法中获取目标方法的参数
- mysql数据存储引擎InnoDB,MyISAM的更改
- 多线程案例
- 深度学习 | 计算机视觉在智能交通领域应用的五个方向
- 区分LLC和MAC协议差异详解
- web.xml配置文件
- win10下完全卸载+重装MySQL教程
- Elasticsearch(二), WebService, 机器人参考资源, Spring
- 手把手教你使用 Raspberry
- 4.2-全栈Java笔记:对象和类的概念及定义
- strcpy vs memcpy vs memmove
- 执行linux中bin目录下的程序
- 博客链接笔记
- Vue.js实现一个todo-list的上移,下移,删除功能