Class ServiceBasketServlet
java.lang.Object
|
+----javax.servlet.GenericServlet
|
+----javax.servlet.http.HttpServlet
|
+----ServiceBasketServlet
- public class ServiceBasketServlet
- extends HttpServlet
- implements SingleThreadModel
This class shows the Service_Basket entityset details and
provides an interface to add new services to the set .
-
ServiceBasketServlet()
-
-
doGet(HttpServletRequest, HttpServletResponse)
-
-
doPost(HttpServletRequest, HttpServletResponse)
-
-
init(ServletConfig)
-
-
InsertintoTables(String, String, String, PrintWriter)
- inserts the new values of service tag,description of the service and the keywords for the service
-
printTable(PrintWriter)
-
ServiceBasketServlet
public ServiceBasketServlet()
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 service,
String serkeyword,
PrintWriter pw)
- inserts the new values of service tag,description of the service and the keywords for the service
- Parameters:
- string - sertag - service tag
- string - service - description of service
- serkeyword - - keywords for the service
- Printwriter - pw
printTable
public void printTable(PrintWriter pw)
- Parameters:
- PrintWriter - pw