Conflicts: src/java/bdd/PompierMySql.java src/java/com/test/servlets/authentifServlet.java web/WEB-INF/CreaPompier.jsp
41 lines
1.5 KiB
XML
41 lines
1.5 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">
|
|
<filter>
|
|
<filter-name>authentifFilter</filter-name>
|
|
<filter-class>filter.authentifFilter</filter-class>
|
|
</filter>
|
|
<filter-mapping>
|
|
<filter-name>authentifFilter</filter-name>
|
|
<url-pattern>/*</url-pattern>
|
|
</filter-mapping>
|
|
<servlet>
|
|
<servlet-name>AuthentifServlet</servlet-name>
|
|
<servlet-class>servlet.AuthentifServlet</servlet-class>
|
|
</servlet>
|
|
<servlet>
|
|
<servlet-name>PompierServlet</servlet-name>
|
|
<servlet-class>servlet.PompierServlet</servlet-class>
|
|
</servlet>
|
|
<servlet>
|
|
<servlet-name>feuilleGardes</servlet-name>
|
|
<servlet-class>servlet.GardesServlet</servlet-class>
|
|
</servlet>
|
|
<servlet-mapping>
|
|
<servlet-name>AuthentifServlet</servlet-name>
|
|
<url-pattern>/authentification</url-pattern>
|
|
</servlet-mapping>
|
|
<servlet-mapping>
|
|
<servlet-name>PompierServlet</servlet-name>
|
|
<url-pattern>/pompier</url-pattern>
|
|
</servlet-mapping>
|
|
<servlet-mapping>
|
|
<servlet-name>feuilleGardes</servlet-name>
|
|
<url-pattern>/gardes</url-pattern>
|
|
</servlet-mapping>
|
|
<session-config>
|
|
<session-timeout>
|
|
30
|
|
</session-timeout>
|
|
</session-config>
|
|
</web-app>
|