Edit D:\chineseall_products\bak\digitalLib6\WEB-INF\web.xml
<?xml version="1.0" encoding="UTF-8"?> <web-app version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"> <display-name>digital-library-chineseall</display-name> <context-param> <param-name>contextConfigLocation</param-name> <param-value> classpath*:applicationContext.xml, classpath*:applicationContext-beans.xml, classpath*:applicationContext-service.xml, classpath*:applicationContext-beans-*.xml, classpath*:applicationContext-service-*.xml, classpath*:applicationContext-task.xml, classpath*:applicationContext-task-*.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>*.action</url-pattern> </filter-mapping> <filter> <filter-name>forbiddenAccessFilter</filter-name> <filter-class>com.digitallib.web.filter.ForbiddenAccessFilter</filter-class> </filter> <filter-mapping> <filter-name>forbiddenAccessFilter</filter-name> <url-pattern>/*</url-pattern> </filter-mapping> <listener> <listener-class> org.springframework.web.context.ContextLoaderListener </listener-class> </listener> <servlet>? <servlet-name>DruidStatView</servlet-name>? <servlet-class>com.alibaba.druid.support.http.StatViewServlet</servlet-class>? </servlet> <servlet-mapping>? <servlet-name>DruidStatView</servlet-name>? <url-pattern>/druid/*</url-pattern>? </servlet-mapping> <filter> <filter-name>druidWebStatFilter</filter-name> <filter-class>com.alibaba.druid.support.http.WebStatFilter</filter-class> <init-param> <param-name>exclusions</param-name> <param-value>*.js,*.css,*.jpg,*.jpeg,*.png,*.bmp,*.gif,/druid*,*.jsp,*.swf,*.ico</param-value> </init-param> <init-param> <param-name>principalSessionName</param-name> <param-value>sessionInfo</param-value> </init-param> <init-param> <param-name>profileEnable</param-name> <param-value>true</param-value> </init-param> </filter> <filter-mapping> <filter-name>druidWebStatFilter</filter-name> <url-pattern>/*</url-pattern> </filter-mapping> <servlet> <servlet-name>initParameters</servlet-name> <servlet-class>com.chineseall.core.servlet.InitParameters</servlet-class> <load-on-startup>1</load-on-startup> </servlet> <filter> <filter-name>hibernateFilter</filter-name> <filter-class>org.springframework.orm.hibernate3.support.OpenSessionInViewFilter</filter-class> </filter> <filter-mapping> <filter-name>hibernateFilter</filter-name> <url-pattern>/*</url-pattern> </filter-mapping> <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>*.action</url-pattern> <dispatcher>REQUEST</dispatcher> <dispatcher>FORWARD</dispatcher> </filter-mapping> <filter-mapping> <filter-name>struts2</filter-name> <url-pattern>*.jsp</url-pattern> <dispatcher>REQUEST</dispatcher> <dispatcher>FORWARD</dispatcher> </filter-mapping> <welcome-file-list> <welcome-file>/index.action</welcome-file> </welcome-file-list> <servlet> <servlet-name>ImageServlet</servlet-name> <servlet-class>com.digitallib.admin.servlet.ImageServlet</servlet-class> </servlet> <servlet-mapping> <servlet-name>ImageServlet</servlet-name> <url-pattern>/imageServlet</url-pattern> </servlet-mapping> <servlet> <servlet-name>fileUploader</servlet-name> <servlet-class>com.digitallib.admin.servlet.FileUploader</servlet-class> </servlet> <servlet-mapping> <servlet-name>fileUploader</servlet-name> <url-pattern>/servlet/fileUploader</url-pattern> </servlet-mapping> <servlet> <servlet-name>dwr-invoker</servlet-name> <servlet-class> org.directwebremoting.servlet.DwrServlet </servlet-class> <init-param> <param-name>debug</param-name> <param-value>false</param-value> </init-param> <init-param> <param-name>allowGetForSafariButMakeForgeryEasier</param-name> <param-value>true</param-value> </init-param> <init-param> <param-name>crossDomainSessionSecurity</param-name> <param-value>false</param-value> </init-param> <init-param> <param-name>allowScriptTagRemoting</param-name> <param-value>true</param-value> </init-param> <load-on-startup>2</load-on-startup> </servlet> <servlet-mapping> <servlet-name>dwr-invoker</servlet-name> <url-pattern>/dwr/*</url-pattern> </servlet-mapping> <error-page> <error-code>404</error-code> <location>/pages/default/error.jsp</location> </error-page> <error-page> <error-code>505</error-code> <location>/pages/default/error.jsp</location> </error-page> <error-page> <error-code>500</error-code> <location>/pages/default/error.jsp</location> </error-page> <error-page> <exception-type>javax.servle.ServletException</exception-type> <location>/pages/default/error.jsp</location> </error-page> <error-page> <exception-type>java.lang.IllegalArgumentException</exception-type> <location>/pages/default/error.jsp</location> </error-page> <error-page> <exception-type>java.lang.NullPointerException</exception-type> <location>/pages/default/error.jsp</location> </error-page> <session-config> <session-timeout>120</session-timeout> </session-config> </web-app>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de