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.
-
QueryParticipant()
-
-
alreadyExists(String, String[], int)
-
-
firstOccursIn(String)
-
-
getEmailCondition(String[], int)
-
-
getRelationList(String[], int)
-
-
init(ServletConfig)
-
-
removeBlank(String)
-
-
service(HttpServletRequest, HttpServletResponse)
-
QueryParticipant
public QueryParticipant()
init
public void init(ServletConfig config) throws ServletException
- Overrides:
- init in class GenericServlet
service
public void service(HttpServletRequest req,
HttpServletResponse res) throws ServletException, IOException
- Overrides:
- service in class HttpServlet
firstOccursIn
public static String firstOccursIn(String attr)
alreadyExists
public static boolean alreadyExists(String s,
String arr[],
int count)
getEmailCondition
public static String getEmailCondition(String relationArr[],
int count)
getRelationList
public static String getRelationList(String relationArr[],
int count)
removeBlank
public static String removeBlank(String str)