<?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"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
id="WebApp_ID" version="2.5">
<display-name>lmis-web</display-name>
<context-param>
<param-name>contextConfigLocation</param-name>
<param-value>classpath*:/applicationContext*.xml</param-value>
</context-param>
<filter>
<filter-name>encodingFilter</filter-name>
<filter-class>org.springframework.web.filter.CharacterEncodingFilter</filter-class>
<init-param>
<param-name>encoding</param-name>
<param-value>UTF-8</param-value>
</init-param>
<init-param>
<param-name>forceEncoding</param-name>
<param-value>true</param-value>
</init-param>
</filter>
<filter-mapping>
<filter-name>encodingFilter</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
<filter>
<filter-name>loginFilter</filter-name>
<filter-class>com.yhi.hiwl.web.action.system.LoginFilter</filter-class>
<init-param>
<param-name>excludeUrl</param-name>
<param-value>/pages/login.jsp;/pages/common/*;/css/*;/images/*;/flash/*;/javascript/*;/scripts/*;/js/*;/image/*;/ValidateCodeServlet;/index!findIdentitys.action;/Upload;/noAuth*;/index.action*</param-value>
</init-param>
</filter>
<filter-mapping>
<filter-name>loginFilter</filter-name>
<url-pattern>*.jsp</url-pattern>
</filter-mapping>
<filter-mapping>
<filter-name>loginFilter</filter-name>
<url-pattern>*.action</url-pattern>
</filter-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>5</param-value>
</init-param>
<init-param>
<param-name>kaptcha.textproducer.char.length</param-name>
<param-value>5</param-value>
</init-param>
</servlet>
<servlet-mapping>
<servlet-name>Kaptcha</servlet-name>
<url-pattern>/captcha.jpg</url-pattern>
</servlet-mapping>
<filter>
<filter-name>struts2Filter</filter-name>
<filter-class>org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter</filter-class>
</filter>
<filter-mapping>
<filter-name>struts2Filter</filter-name>
<url-pattern>*.action</url-pattern>
<dispatcher>REQUEST</dispatcher>
<dispatcher>FORWARD</dispatcher>
</filter-mapping>
<servlet>
<servlet-name>Upload</servlet-name>
<servlet-class>com.yhi.hiwl.web.action.FileUploadServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>Upload</servlet-name>
<url-pattern>/Upload</url-pattern>
</servlet-mapping>
<listener>
<listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
</listener>
<listener>
<listener-class>org.springframework.web.util.IntrospectorCleanupListener</listener-class>
</listener>
<session-config>
<session-timeout>30</session-timeout>
</session-config>
<welcome-file-list>
<welcome-file>index.jsp</welcome-file>
</welcome-file-list>
<error-page>
<exception-type>java.lang.Throwable</exception-type>
<location>/pages/common/500.jsp</location>
</error-page>
<error-page>
<error-code>500</error-code>
<location>/pages/common/500.jsp</location>
</error-page>
<error-page>
<error-code>404</error-code>
<location>/pages/common/404.jsp</location>
</error-page>
<error-page>
<error-code>403</error-code>
<location>/pages/common/403.jsp</location>
</error-page>
</web-app>
没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
收起资源包目录
package-placeholder.zip (20个子文件)
package-placeholder
src
test
java
main
webapp
WEB-INF
lib
datetimeformat.jar 370B
jai_codec.jar 198KB
jai_core.jar 1.37MB
barcode.jar 43KB
poi2.jar 1.13MB
parser.jar 117KB
webutil.jar 4KB
report4.jar 5.02MB
itext2_rq.jar 2.08MB
iTextAsian.jar 322KB
web.xml 4KB
resources
filters
product
application.properties 31B
qa
application.properties 27B
demo
application.properties 32B
dev
application.properties 27B
applicationContext.xml 623B
application.properties 31B
log4j.properties 1KB
common.properties 13B
java
pom.xml 2KB
共 20 条
- 1
资源评论
- wzg9232017-08-24根据demo 配置成功了,赞
- LINPE2017-05-19不错的资源,推荐!
- aosica2018-04-28下载下来了, 想问下博主或大家,filters/demo/application.properties文件中什么内容不要填写吗?什么时候会要填写
Jamin_Ma
- 粉丝: 40
- 资源: 25
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功