Class ShowClassificationServlet

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

public class ShowClassificationServlet
extends HttpServlet
implements SingleThreadModel
This class shows the CSR , set classification details like tags and keywords and provides an interface to add new segments to the classification .


Constructor Index

 o ShowClassificationServlet()

Method Index

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

Constructors

 o ShowClassificationServlet
 public ShowClassificationServlet()

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 doPost
 public void doPost(HttpServletRequest request,
                    HttpServletResponse response) throws ServletException, IOException
Overrides:
doPost in class HttpServlet
 o InsertintoTables
 public void InsertintoTables(String Class,
                              String tag,
                              String keyword,
                              PrintWriter pw)
Parameters:
String - Class - one of the classification tables class (1 to 5)
String - tag - the tag for the identification of the classification .This depends on the type of classification and is of specific length for specific classes. This is also used for the generation of customer tag.
String - keyword - A short description of the classification. This gets shown up on the HTML questionnaire.
PrintWriter - pw
 o printTable
 public void printTable(PrintWriter pw)
Parameters:
PrintWriter - pw