diff --git a/src/java/servlet/AuthentifServlet.java b/src/java/servlet/AuthentifServlet.java
index 73f6be7..46c0be6 100644
--- a/src/java/servlet/AuthentifServlet.java
+++ b/src/java/servlet/AuthentifServlet.java
@@ -66,6 +66,7 @@ public class AuthentifServlet extends HttpServlet {
maSession.removeAttribute("lePompierConnecte");
maSession.removeAttribute("lesPompiers");
maSession.removeAttribute("lePompier");
+ maSession.removeAttribute("lesVentilInit");
getServletContext().getRequestDispatcher("/WEB-INF/authentifJSP.jsp").forward(request, response);
}
diff --git a/src/java/servlet/GPServlet.java b/src/java/servlet/GPServlet.java
new file mode 100644
index 0000000..54bc6c0
--- /dev/null
+++ b/src/java/servlet/GPServlet.java
@@ -0,0 +1,132 @@
+/*
+ * 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.
+ */
+package servlet;
+
+import bdd.GardeMySQL;
+import bean.Gardes;
+import bean.Pompier;
+import form.DispoForm;
+import java.io.IOException;
+import java.io.PrintWriter;
+import jakarta.servlet.ServletException;
+import jakarta.servlet.http.HttpServlet;
+import jakarta.servlet.http.HttpServletRequest;
+import jakarta.servlet.http.HttpServletResponse;
+import jakarta.servlet.http.HttpSession;
+import java.util.ArrayList;
+import java.util.Calendar;
+import util.TrmtDate;
+
+/**
+ *
+ * @author clementine.desrucques
+ */
+public class GPServlet extends HttpServlet {
+
+ /**
+ * Processes requests for both HTTP GET
and POST
+ * methods.
+ *
+ * @param request servlet request
+ * @param response servlet response
+ * @throws ServletException if a servlet-specific error occurs
+ * @throws IOException if an I/O error occurs
+ */
+ protected void processRequest(HttpServletRequest request, HttpServletResponse response)
+ throws ServletException, IOException {
+ response.setContentType("text/html;charset=UTF-8");
+ try ( PrintWriter out = response.getWriter()) {
+ /* TODO output your page here. You may use following sample code. */
+ out.println("");
+ out.println("");
+ out.println("
GET
method.
+ *
+ * @param request servlet request
+ * @param response servlet response
+ * @throws ServletException if a servlet-specific error occurs
+ * @throws IOException if an I/O error occurs
+ */
+ @Override
+ protected void doGet(HttpServletRequest request, HttpServletResponse response)
+ throws ServletException, IOException {
+// processRequest(request, response);
+ HttpSession maSession = request.getSession();
+
+ if(maSession.getAttribute("lesVentilInit") == null){
+ ArrayListPOST
method.
+ *
+ * @param request servlet request
+ * @param response servlet response
+ * @throws ServletException if a servlet-specific error occurs
+ * @throws IOException if an I/O error occurs
+ */
+ @Override
+ protected void doPost(HttpServletRequest request, HttpServletResponse response)
+ throws ServletException, IOException {
+// processRequest(request, response);
+ DispoForm vf = new DispoForm();
+ vf.verifDispo(request);
+ getServletContext().getRequestDispatcher("/WEB-INF/pompierJSP.jsp").forward(request, response);
+ }
+
+ /**
+ * Returns a short description of the servlet.
+ *
+ * @return a String containing servlet description
+ */
+ @Override
+ public String getServletInfo() {
+ return "Short description";
+ }//