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


Constructor Index

 o Students_info()

Method Index

 o create_student(PrintWriter, HttpServletRequest)
Method to get information about the student via an sql query
 o doPost(HttpServletRequest, HttpServletResponse)
 o gen_form(ResultSet, PrintWriter, HttpServletRequest)
Method to print the page information on the student giving links to the appropiate places
 o init(ServletConfig)

Constructors

 o Students_info
 public Students_info()

Methods

 o init
 public void init(ServletConfig cfg) throws ServletException
Overrides:
init in class GenericServlet
 o doPost
 public void doPost(HttpServletRequest req,
                    HttpServletResponse res) throws ServletException, IOException
Overrides:
doPost in class HttpServlet
 o 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
 o 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