Class AssignCSRService
java.lang.Object
|
+----javax.servlet.GenericServlet
|
+----javax.servlet.http.HttpServlet
|
+----AssignCSRService
- public class AssignCSRService
- extends HttpServlet
- implements SingleThreadModel
This class shows the Forward_Email entityset details like servicetag and csremailid and
provides an interface to assign a new service to the csr to handle .
-
AssignCSRService()
-
-
doGet(HttpServletRequest, HttpServletResponse)
-
-
doPost(HttpServletRequest, HttpServletResponse)
-
-
init(ServletConfig)
-
-
InsertintoTables(String, String, PrintWriter)
- inserts the new values of csremailid and the service tag assigned to him
into the database.
-
printTable(PrintWriter)
-
AssignCSRService
public AssignCSRService()
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
doPost
public void doPost(HttpServletRequest request,
HttpServletResponse response) throws ServletException, IOException
- Overrides:
- doPost in class HttpServlet
InsertintoTables
public void InsertintoTables(String sertag,
String csremailid,
PrintWriter pw)
- inserts the new values of csremailid and the service tag assigned to him
into the database.
- Parameters:
- string - sertag - service tag
- string - csremailid - emailid of the csr
- Printwriter - pw
printTable
public void printTable(PrintWriter pw)
- Parameters:
- PrintWriter - pw