Source code for implementing Search feature using servlet (JSP/JSF/Java method)

QuirkyCindy's Avatar, Join Date: Jun 2008
Newbie Member
Hi all,

I'm a newbie but a keen learner.

Please help me with the source code for implementing Search feature using servlet (JSF/JSP/Jave). I've tried but can't seem to work. Could someone give me an example using the data below:- (search by Name, Dept or DOB)

Employee Table

Id
Name
Dept
DOB
Date

Search By Name, Dept, DOB

Id Name Dept DOB Date
10 Judy BBB 01/01/2008 01/01/2008
11 Lily AAA 01/01/2008 01/01/2008
12 Rose CCC 11/01/2008 01/01/2008
13 James AAA 21/01/2008 01/01/2008
14 Daisy BBB 01/01/2008 01/01/2008
----------------------------------------------

Ex. Search by name - Judy

Id Name Dept DOB Date
10 Judy BBB 01/01/2008 01/01/2008
----------------------------------------------

Ex. Search by dept - BBB

Id Name Dept DOB Date
10 Judy BBB 01/01/2008 01/01/2008
14 Daisy BBB 01/01/2008 01/01/2008
----------------------------------------------

Ex. Search by dob - 01/01/2008

Id Name Dept DOB Date
10 Judy BBB 01/01/2008 01/01/2008
11 Lily AAA 01/01/2008 01/01/2008
14 Daisy BBB 01/01/2008 01/01/2008


using Servlet, example in jsf, jsp, java method
shabbir's Avatar, Join Date: Jul 2004
Go4Expert Founder
Duplicate of Source code for implementing SEARCH feature using Servlet (JSP/JSF/Java method). Thread closed