Class QueryParticipant

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

public class QueryParticipant
extends HttpServlet
This servlet takes the parameters from the ParticipantQuery.html file after submission by the user and executes a query to find all the participants who have same values on parameters as those entered by the user.It displays only those parameters of the participant which have been requested by the user in the form of checkboxes when he submits the ParticipantQuery.html file.


Constructor Index

 o QueryParticipant()

Method Index

 o alreadyExists(String, String[], int)
 o firstOccursIn(String)
 o getEmailCondition(String[], int)
 o getRelationList(String[], int)
 o init(ServletConfig)
 o removeBlank(String)
 o service(HttpServletRequest, HttpServletResponse)

Constructors

 o QueryParticipant
 public QueryParticipant()

Methods

 o init
 public void init(ServletConfig config) throws ServletException
Overrides:
init in class GenericServlet
 o service
 public void service(HttpServletRequest req,
                     HttpServletResponse res) throws ServletException, IOException
Overrides:
service in class HttpServlet
 o firstOccursIn
 public static String firstOccursIn(String attr)
 o alreadyExists
 public static boolean alreadyExists(String s,
                                     String arr[],
                                     int count)
 o getEmailCondition
 public static String getEmailCondition(String relationArr[],
                                        int count)
 o getRelationList
 public static String getRelationList(String relationArr[],
                                      int count)
 o removeBlank
 public static String removeBlank(String str)