| | |
Source Code for implementing Search Feature using Servlet
Please support our JSP advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
•
•
Join Date: Jun 2008
Posts: 3
Reputation:
Solved Threads: 0
Hi all,
Could someone help me with the source code to implement a search feature using servlet (JSP/JSF/Java method)???
Based on the examples below:- (Search by Name, Dept and 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 so much!!!
Could someone help me with the source code to implement a search feature using servlet (JSP/JSF/Java method)???
Based on the examples below:- (Search by Name, Dept and 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 so much!!!
•
•
Join Date: Jun 2008
Posts: 3
Reputation:
Solved Threads: 0
•
•
•
•
no, we're not going to do your work for you.
We can however point you to some existing packages that might do the trick. Check out Lucene.
Pls do not understood. I am not asking someone to do my stuff.
I'm just having trouble with the codes for search feature. Do not know what is wrong with my codes...just can't seem to be able to work. Besides, those data are just samples. I'm working on a more complicated set of data.
Anyway, thanks for your pointer. Will look into that...
![]() |
Other Threads in the JSP Forum
- Previous Thread: how to send email from jsp page
- Next Thread: JSP: Configuration issues
| Thread Tools | Search this Thread |
apache array backbutton combobox comma connection csv database development directorystructure dropdownlist dynamicpagetitles eclipse frames glassfish ie8 imagetodatabse imageupload integer internet java javaee javascript jsf jsp jsppagetitles levels mvc2 mvcmodel2 mysql netbeans network parameters passing ping printinserverinsteadofclient project read redirect request.getparameter response seperated servlet servletdopost()readxml sessions software sql ssl state_saving_method stocks sun tomcat tutorial update values video web write






