Class SetPriorities

java.lang.Object
   |
   +----javax.servlet.GenericServlet
           |
           +----javax.servlet.http.HttpServlet
                   |
                   +----SetPriorities

public class SetPriorities
extends HttpServlet
implements SingleThreadModel

Constructor Index

 o SetPriorities()

Method Index

 o doGet(HttpServletRequest, HttpServletResponse)
 o doPost(HttpServletRequest, HttpServletResponse)
 o init(ServletConfig)
 o InsertintoTables(String, String, String, String, PrintWriter)
 o printTable(PrintWriter)

Constructors

 o SetPriorities
 public SetPriorities()

Methods

 o init
 public void init(ServletConfig config) throws ServletException
Overrides:
init in class GenericServlet
 o doGet
 public void doGet(HttpServletRequest request,
                   HttpServletResponse response) throws ServletException, IOException
Overrides:
doGet in class HttpServlet
 o printTable
 public void printTable(PrintWriter pw)
Parameters:
PrintWriter - pw
 o doPost
 public void doPost(HttpServletRequest request,
                    HttpServletResponse response) throws ServletException, IOException
Overrides:
doPost in class HttpServlet
 o InsertintoTables
 public void InsertintoTables(String tablename,
                              String fieldname,
                              String fieldvalue,
                              String priority,
                              PrintWriter pw)
Parameters:
String - tablename - Name of the table
String - fieldname - One of its fields
String - fieldvalue - the specific field value
String - priority - a numeric value assigned which lies between 1 and 10
PrintWriter - pw