correction bug, finalisation des servlet

This commit is contained in:
trochas
2025-10-01 16:04:32 +02:00
parent c5eef2c624
commit 1c9ecc1a1f
10 changed files with 37 additions and 22 deletions

View File

@@ -3,20 +3,26 @@
<html lang="en">
<body>
<h1>Creer une session</h1>
<form action="SessionInfo" method="POST">
<input type="hidden" name="action" value="createSession">
Theme: <input type="text" name="theme">
CodePin <input type="number" name="codePIN">
<input type="submit" value="Creer Session">
</form>
Theme: <input type="text" name="theme"><br/>
CodePin <input type="number" name="codePIN"><br/>
<input type="submit" value="createSession">
</form>
<h1>Ajouter un quizz à une session</h1>
<form action="SessionInfo" method="POST">
<input type="hidden" name="action" value="addQuizz">
session ID <input type="number" name="sessionID">
ID Quizz <input type="number" name="idQuizz">
<input type="submit" value="Add Quizz">
session ID <input type="number" name="sessionID"><br/>
ID Quizz <input type="number" name="idQuizz"><br/>
<input type="submit" value="addQuizz">
</form>
</body>
</html>

View File

@@ -1,11 +1,16 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>User manager</title>
</head>
<body>
<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>
Passworld : <INPUT type="text" size="20" name="password"><BR>
<INPUT type="submit" value="Send">
</FORM>

View File

@@ -2,10 +2,10 @@
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Title</title>
<title>Kaflop!</title>
</head>
<body>
<h1>Hello World!</h1>
<h1>Kaflop!</h1>
<a href =http://localhost:8080/UserInfo.html>myform</a>
<a href =http://localhost:8080/Session.html>session</a>
<a href =http://localhost:8080/Quizz.html>Quizz</a>