1 <web-app xmlns="http://java.sun.com/xml/ns/j2ee"
\r
2 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
\r
3 xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
\r
6 <display-name>ProteoCache</display-name>
\r
7 <description>ProteoCache - caching framework for Jpred and other program in Dundee Resource</description>
\r
10 <welcome-file>index.jsp</welcome-file>
\r
11 </welcome-file-list>
\r
13 <!-- ############################################################################################################ -->
\r
14 <!-- Spring Security -->
\r
17 <listener-class>org.springframework.web.util.Log4jConfigListener</listener-class>
\r
21 <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
\r
25 <param-name>contextConfigLocation</param-name>
\r
27 /WEB-INF/spring-security.xml
\r
32 <param-name>log4jConfigLocation</param-name>
\r
33 <param-value>/WEB-INF/classes/log4j.properties</param-value>
\r
37 <filter-name>springSecurityFilterChain</filter-name>
\r
38 <filter-class>org.springframework.web.filter.DelegatingFilterProxy</filter-class>
\r
42 <filter-name>springSecurityFilterChain</filter-name>
\r
43 <url-pattern>/*</url-pattern>
\r
46 <!-- Main Spring Servlet: annotation based configuration -->
\r
48 <servlet-name>proteocache</servlet-name>
\r
49 <servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class>
\r
51 <param-name>contextClass</param-name>
\r
52 <param-value>org.springframework.web.context.support.AnnotationConfigWebApplicationContext</param-value>
\r
55 <param-name>contextConfigLocation</param-name>
\r
56 <param-value>compbio.spring</param-value>
\r
58 <load-on-startup>1</load-on-startup>
\r
62 <servlet-name>proteocache</servlet-name>
\r
63 <url-pattern>/</url-pattern>
\r
66 <!-- ProteoCache listeners -->
\r
68 <listener-class>compbio.listeners.ContextListener</listener-class>
\r
71 <!-- Session timeout in minutes -->
\r
73 <session-timeout>20</session-timeout>
\r