-
Notifications
You must be signed in to change notification settings - Fork 15
Expand file tree
/
Copy pathweb.xml
More file actions
executable file
·38 lines (36 loc) · 1.41 KB
/
web.xml
File metadata and controls
executable file
·38 lines (36 loc) · 1.41 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
<?xml version="1.0" encoding="UTF-8"?>
<web-app version="2.5" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">
<filter>
<filter-name>Filter1</filter-name>
<filter-class>edu.gemini.filter.Filter1</filter-class>
</filter>
<filter>
<filter-name>Filter2</filter-name>
<filter-class>edu.gemini.filter.Filter2</filter-class>
</filter>
<!-- Для установки порядка работы фильтров испольузется порядок mapping-->
<filter-mapping>
<filter-name>Filter1</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
<filter-mapping>
<filter-name>Filter2</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
<servlet>
<servlet-name>CheckFilterServlet</servlet-name>
<servlet-class>edu.gemini.filter.CheckFilterServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>CheckFilterServlet</servlet-name>
<url-pattern>/CheckFilter</url-pattern>
</servlet-mapping>
<session-config>
<session-timeout>
30
</session-timeout>
</session-config>
<welcome-file-list>
<welcome-file>index.jsp</welcome-file>
</welcome-file-list>
</web-app>