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 .
-
ShowClassificationServlet()
-
-
doGet(HttpServletRequest, HttpServletResponse)
-
-
doPost(HttpServletRequest, HttpServletResponse)
-
-
init(ServletConfig)
-
-
InsertintoTables(String, String, String, PrintWriter)
-
-
printTable(PrintWriter)
-
ShowClassificationServlet
public ShowClassificationServlet()
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 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
printTable
public void printTable(PrintWriter pw)
- Parameters:
- PrintWriter - pw