This commit is contained in:
2
web/META-INF/context.xml
Normal file
2
web/META-INF/context.xml
Normal file
@@ -0,0 +1,2 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<Context path="/ProjetSDIS29"/>
|
17
web/WEB-INF/ChefCaserneJSP.jsp
Normal file
17
web/WEB-INF/ChefCaserneJSP.jsp
Normal 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>
|
17
web/WEB-INF/PompierJSP.jsp
Normal file
17
web/WEB-INF/PompierJSP.jsp
Normal 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
24
web/WEB-INF/web.xml
Normal 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>
|
16
web/index.html
Normal file
16
web/index.html
Normal file
@@ -0,0 +1,16 @@
|
||||
<!DOCTYPE html>
|
||||
<!--
|
||||
To change this license header, choose License Headers in Project Properties.
|
||||
To change this template file, choose Tools | Templates
|
||||
and open the template in the editor.
|
||||
-->
|
||||
<html>
|
||||
<head>
|
||||
<title>TODO supply a title</title>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
</head>
|
||||
<body>
|
||||
<div>TODO write content</div>
|
||||
</body>
|
||||
</html>
|
Reference in New Issue
Block a user