Solved

write"search" code using jsp?

Posted on 2007-11-20
5
5,200 Views
Last Modified: 2012-08-13
Hi, I want to create a jsp page that enable the user to do "search" operation based on criteria and the search will be performed in the sql database
the scenario again as follows:
1-user insert the search phrase in the specifide field
2- select option on dropdown menu "for example"
2- click the search button
4- the search will happen in my database "sql server2000" based on the phrase and the choice in the drop down menu
5- the web page will display the result
Do you have a code or a good reference to do that ??
0
Comment
Question by:master_programmer
5 Comments
 
LVL 42

Expert Comment

by:EugeneZ
ID: 20320976
0
 

Author Comment

by:master_programmer
ID: 20322489
Thanx, I know all of these things,but the problem is how to do the search
0
 
LVL 4

Accepted Solution

by:
TheMajestic earned 500 total points
ID: 20325646
hi,

here is the java code for the search engine.

http://www.roseindia.net/sourcecode/searchengine/download.shtml

hope this will help u .
0
 
LVL 11

Expert Comment

by:Manish
ID: 20325664
You need to create query which will search the database.
In which field you want to search?
If you want to search in all fields then add this q in
Database/MS-SQL-Server/ section, if there is any better way?
0
 

Author Comment

by:master_programmer
ID: 20327209
Thanx, I'll try this link

http://www.roseindia.net/sourcecode/searchengine/download.shtml

it seems that it is what i want
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
The Delta outage: 650 cancelled flights, more than 1200 delayed flights, thousands of frustrated customers, tens of millions of dollars in damages – plus untold reputational damage to one of the world’s most trusted airlines. All due to a catastroph…
Using examples as well as descriptions, and references to Books Online, show the documentation available for datatypes, explain the available data types and show how data can be passed into and out of variables.
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.

821 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question