Class SetPriorities
java.lang.Object
|
+----javax.servlet.GenericServlet
|
+----javax.servlet.http.HttpServlet
|
+----SetPriorities
- public class SetPriorities
- extends HttpServlet
- implements SingleThreadModel
-
SetPriorities()
-
-
doGet(HttpServletRequest, HttpServletResponse)
-
-
doPost(HttpServletRequest, HttpServletResponse)
-
-
init(ServletConfig)
-
-
InsertintoTables(String, String, String, String, PrintWriter)
-
-
printTable(PrintWriter)
-
SetPriorities
public SetPriorities()
init
public void init(ServletConfig config) throws ServletException
- Overrides:
- init in class GenericServlet
doGet
public void doGet(HttpServletRequest request,
HttpServletResponse response) throws ServletException, IOException
- Overrides:
- doGet in class HttpServlet
printTable
public void printTable(PrintWriter pw)
- Parameters:
- PrintWriter - pw
doPost
public void doPost(HttpServletRequest request,
HttpServletResponse response) throws ServletException, IOException
- Overrides:
- doPost in class HttpServlet
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