web.xml
来源:互联网 发布:法国 衰落知乎 编辑:程序博客网 时间:2024/05/17 01:01
<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="2.5" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">
<display-name>lisco</display-name>
<!-- 注明 Character Encoding filter,这里基于GBK进行编码-->
<filter>
<filter-name>encodingFilter</filter-name>
<filter-class>org.springframework.web.filter.CharacterEncodingFilter</filter-class>
<init-param>
<param-name>encoding</param-name>
<param-value>GBK</param-value>
</init-param>
</filter>
<filter-mapping>
<filter-name>encodingFilter</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
<!-- Spring刷新Introspector防止Struts或Quartz等框架产生的内存泄露问题 -->
<listener>
<listener-class>
org.springframework.web.util.IntrospectorCleanupListener
</listener-class>
</listener>
<!-- Struts Action Mapping 装配Struts配置文件-->
<servlet>
<servlet-name>action</servlet-name>
<servlet-class>org.apache.struts.action.ActionServlet</servlet-class>
<init-param>
<param-name>config</param-name>
<param-value>
/WEB-INF/struts-config.xml,
/yhgl/config/struts-config-yhgl.xml,
/cwgl/config/struts-config-cwgl.xml
</param-value>
</init-param>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>action</servlet-name>
<url-pattern>*.do</url-pattern>
</servlet-mapping>
<!-- 明确设定适用于所有服务器的session超时值,如果没有该项设置,则缺省的超时值由具体的服务器决定,单位为分钟。 -->
<session-config>
<session-timeout>120</session-timeout>
</session-config>
<!-- 默认首页定义 -->
<welcome-file-list>
<welcome-file>index.jsp</welcome-file>
<welcome-file>index.htm</welcome-file>
<welcome-file>index.html</welcome-file>
</welcome-file-list>
<!-- Error Page定义 -->
</web-app>
- web.xml
- WEB.XML
- web.xml
- web.xml
- web.xml
- web.xml
- web.xml
- web.xml
- web.xml
- web.xml
- web.xml
- web.xml
- web.xml
- web.xml
- web.xml
- web.xml
- web.xml
- web.xml
- Java Servlet和JSP教程 8-9-10-
- C# 泛型简介
- Microsoft Windows, VC6.0的字体和背景颜色修改
- 如何用XP自代的远程协助
- C++中对多态的支持
- web.xml
- 跨进程传递字符串(数据)的一点心得
- BaseDAO.java
- RCP中的Plugin.properties不起作用的解决方法
- Java Servlet和JSP教程 11-12-13-
- 使用JFreeChart来创建图表
- BaseHibernateDAO.java
- 如何从N个数中选出最大(小)的n个数?我的想法
- Programming Microsoft Windows with Csharp. Introduction