This commit is contained in:
funcha.ahamadi
2021-10-18 11:14:43 +02:00
commit 06be3bbb94
14 changed files with 1915 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
<%--
Document : ChefCaserneJSP
Created on : 18 oct. 2021, 11:04:13
Author : funcha.ahamadi
--%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>JSP Page</title>
</head>
<body>
<h1>Hello World!</h1>
</body>
</html>

View File

@@ -0,0 +1,17 @@
<%--
Document : PompierJSP
Created on : 18 oct. 2021, 11:01:21
Author : funcha.ahamadi
--%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>JSP Page</title>
</head>
<body>
<h1>Hello World!</h1>
</body>
</html>

24
web/WEB-INF/web.xml Normal file
View File

@@ -0,0 +1,24 @@
<?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>