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.context.ContextLoaderListener</listener-class>
\r
21 <param-name>contextConfigLocation</param-name>
\r
23 /WEB-INF/spring-security.xml
\r
28 <filter-name>springSecurityFilterChain</filter-name>
\r
29 <filter-class>org.springframework.web.filter.DelegatingFilterProxy</filter-class>
\r
33 <filter-name>springSecurityFilterChain</filter-name>
\r
34 <url-pattern>/*</url-pattern>
\r
37 <!-- Main Spring Servlet: annotation based configuration -->
\r
39 <servlet-name>proteocache</servlet-name>
\r
40 <servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class>
\r
42 <param-name>contextClass</param-name>
\r
43 <param-value>org.springframework.web.context.support.AnnotationConfigWebApplicationContext</param-value>
\r
46 <param-name>contextConfigLocation</param-name>
\r
47 <param-value>compbio.spring</param-value>
\r
49 <load-on-startup>1</load-on-startup>
\r
53 <servlet-name>proteocache</servlet-name>
\r
54 <url-pattern>/</url-pattern>
\r
57 <!-- ProteoCache listeners -->
\r
59 <listener-class>compbio.listeners.ContextListener</listener-class>
\r
62 <!-- Session timeout in minutes -->
\r
64 <session-timeout>20</session-timeout>
\r