début projet SDIS avec formulaire profil non terminé

This commit is contained in:
morgann.david
2024-11-08 08:43:52 +01:00
parent 49b3c996cf
commit 53fe3c3dea
9 changed files with 129 additions and 12 deletions

View File

@@ -1,2 +1,2 @@
<?xml version="1.0" encoding="UTF-8"?>
<Context path="/ap33AppliSDIS"/>
<Context path="/ap33ApplicationSDIS-V2"/>

View File

@@ -0,0 +1,21 @@
<%--
Document : profilPompierVue
Created on : 7 nov. 2024, 15:07:13
Author : morgann.david
--%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>SDIS 29 - Profil</title>
</head>
<body>
<h1>Profil du pompier</h1>
<form>
<input type="text" id="ztnom" name="nom" readonly>
<input type="text" id="ztprenom" name="prenom" readonly><br>
</form>
</body>
</html>

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

@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<web-app version="6.0" xmlns="https://jakarta.ee/xml/ns/jakartaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="https://jakarta.ee/xml/ns/jakartaee https://jakarta.ee/xml/ns/jakartaee/web-app_6_0.xsd">
<servlet>
<servlet-name>ProfilServlet</servlet-name>
<servlet-class>servlets.ProfilServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>ProfilServlet</servlet-name>
<url-pattern>/Profil</url-pattern>
</servlet-mapping>
</web-app>