Add Session.html and lombok, change property access into field access to lombok.

Tested add Session to user, add method UtilisateurDAO.addToSession

Please rerun
mvn clean install
This commit is contained in:
Vu Tuan Minh
2025-09-26 01:25:55 +02:00
parent 2f4d87c487
commit b9d8925f1a
15 changed files with 161 additions and 249 deletions

View File

@@ -1,10 +1,20 @@
<!DOCTYPE html>
<html lang="en">
<body>
<FORM Method="POST" Action="/UserInfo">
<h1>Creer l'utilisateur</h1>
<FORM Method="POST" Action="UserInfo">
<input type="hidden" name="action" value="addUser">
Name : <INPUT type="text" size="20" name="name"><BR>
Email : <INPUT type="text" size="20" name="email"><BR>
<INPUT type="submit" value="Send">
</FORM>
<h1>Ajouter utilisateur dans une session</h1>
<form action="UserInfo" method="POST">
<input type="hidden" name="action" value="addSession">
ID Session: <input type="number" name="sessionId"><br>
ID Utilisateur: <input type="number" name="userId"><br>
<input type="submit" value="Ajouter">
</form>
</body>
</html>