Class Students_info
java.lang.Object
|
+----javax.servlet.GenericServlet
|
+----javax.servlet.http.HttpServlet
|
+----Students_info
- public class Students_info
- extends HttpServlet
Class to print all information regarding a student
-
Students_info()
-
-
create_student(PrintWriter, HttpServletRequest)
- Method to get information about the student via an sql query
-
doPost(HttpServletRequest, HttpServletResponse)
-
-
gen_form(ResultSet, PrintWriter, HttpServletRequest)
- Method to print the page information on the student giving links
to the appropiate places
-
init(ServletConfig)
-
Students_info
public Students_info()
init
public void init(ServletConfig cfg) throws ServletException
- Overrides:
- init in class GenericServlet
doPost
public void doPost(HttpServletRequest req,
HttpServletResponse res) throws ServletException, IOException
- Overrides:
- doPost in class HttpServlet
create_student
public void create_student(PrintWriter out,
HttpServletRequest req)
- Method to get information about the student via an sql query
- Parameters:
- out - PrintWriter instance
- req - HttpServletRequest instance
- Returns:
- Nothing
gen_form
public void gen_form(ResultSet res,
PrintWriter out,
HttpServletRequest req)
- Method to print the page information on the student giving links
to the appropiate places
- Parameters:
- res - ResultSet instance
- out - PrintWriter instance
- req - HttpServletRequest instance
- Returns:
- Nothing