Projet/web/WEB-INF/web.xml
funcha.ahamadi 06be3bbb94
2021-10-18 11:14:43 +02:00

25 lines
1007 B
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-mapping>
<servlet-name>PompierServlet</servlet-name>
<url-pattern>/PompierServlet</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>ChefCaserneServlet</servlet-name>
<url-pattern>/ChefCaserneServlet</url-pattern>
</servlet-mapping>
<session-config>
<session-timeout>
30
</session-timeout>
</session-config>
</web-app>