Class AuthFailSession
java.lang.Object
|
+----Session
|
+----AuthFailSession
- public class AuthFailSession
- extends Session
A class to handle the case when login fails.
-
AuthFailSession()
-
-
printPage(Connection, PrintWriter, HttpServletRequest, String)
- A method to print the page for failed login.
-
printRespectivePage(String, PrintWriter)
- A method to print the specified file on to the specified printwriter.
-
processData(HttpServletRequest, Connection, PrintWriter)
- Method to process data posted from a form
AuthFailSession
public AuthFailSession()
printPage
public void printPage(Connection Conn,
PrintWriter out,
HttpServletRequest Req,
String Cook)
- A method to print the page for failed login.
Uses a predefined HTML file for the contents of the page
- Parameters:
- Conn - Connection instance
- out - PrintWriter instnce
- Req - HttpServletRequest
- Cook - Cookie
- Returns:
- Nothing
- Overrides:
- printPage in class Session
processData
public void processData(HttpServletRequest Req,
Connection Conn,
PrintWriter out)
- Method to process data posted from a form
- Overrides:
- processData in class Session
printRespectivePage
public void printRespectivePage(String Filename,
PrintWriter out) throws FileNotFoundException, IOException
- A method to print the specified file on to the specified printwriter.
- Parameters:
- Filename - Name of the file
- out - PrintWriter instance
- Returns:
- Nothing