Class LogOut
java.lang.Object
|
+----javax.servlet.GenericServlet
|
+----javax.servlet.http.HttpServlet
|
+----LogOut
- public class LogOut
- extends HttpServlet
This class Logs a user out, i.e removes all the cookies in the server
database associated with the user's browser.
-
myCom
-
-
LogOut()
-
-
doGet(HttpServletRequest, HttpServletResponse)
- This method gets the all the cookies from the HttpServletRequest
stream and removes them from the server database.
myCom
public static Connection myCom
LogOut
public LogOut()
doGet
public void doGet(HttpServletRequest req,
HttpServletResponse res) throws ServletException, IOException, IllegalStateException
- This method gets the all the cookies from the HttpServletRequest
stream and removes them from the server database.
- Overrides:
- doGet in class HttpServlet