SDIS4/web/WEB-INF/web.xml
clementine.desrucques 8b2130a5cf
2021-10-19 08:55:06 +02:00

33 lines
1.3 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<web-app version="3.1" xmlns="http://xmlns.jcp.org/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-app_3_1.xsd">
<servlet>
<servlet-name>PompierServlet</servlet-name>
<servlet-class>com.test.servlets.PompierServlet</servlet-class>
</servlet>
<servlet>
<servlet-name>ChefCaserneServlet</servlet-name>
<servlet-class>com.test.servlets.ChefCaserneServlet</servlet-class>
</servlet>
<servlet>
<servlet-name>authentifServlet</servlet-name>
<servlet-class>com.test.servlets.authentifServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>PompierServlet</servlet-name>
<url-pattern>/Pompier</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>ChefCaserneServlet</servlet-name>
<url-pattern>/ChefCaserne</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>authentifServlet</servlet-name>
<url-pattern>/Authentification</url-pattern>
</servlet-mapping>
<session-config>
<session-timeout>
30
</session-timeout>
</session-config>
</web-app>