Go4Expert

Go4Expert (http://www.go4expert.com/)
-   JSP (http://www.go4expert.com/forums/jsp/)
-   -   Source code for implementing SEARCH feature using Servlet (JSP/JSF/Java method) (http://www.go4expert.com/forums/source-code-implementing-search-feature-t11443/)

QuirkyCindy 18Jun2008 14:38

Source code for implementing SEARCH feature using Servlet (JSP/JSF/Java method)
 
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

Thank you in advance!!


All times are GMT +5.5. The time now is 09:14.