Class EditCSRServlet
java.lang.Object
|
+----javax.servlet.GenericServlet
|
+----javax.servlet.http.HttpServlet
|
+----EditCSRServlet
- public class EditCSRServlet
- extends HttpServlet
- implements SingleThreadModel
This class shows the CRM_Personnel entityset details like emailid and name and
provides an interface to add new CSR to the set .
-
EditCSRServlet()
-
-
doGet(HttpServletRequest, HttpServletResponse)
-
-
doPost(HttpServletRequest, HttpServletResponse)
-
-
init(ServletConfig)
-
-
InsertintoTables(String, String, PrintWriter)
- inserts the new values of CSR's emailid and his/her name
into the database.
-
printTable(PrintWriter)
-
EditCSRServlet
public EditCSRServlet()
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 emailid,
String csrname,
PrintWriter pw)
- inserts the new values of CSR's emailid and his/her name
into the database.
- Parameters:
- string - emailid - emailid of the csr
- string - csrname - Name of the csr
- Printwriter - pw
printTable
public void printTable(PrintWriter pw)
- Parameters:
- PrintWriter - pw