954,600 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

How to display search results in same webpage

hi guys,
im developing a search engine using servlet and jsp.how can we display the search results in the same webpage below the search bar.i dont want to use ajax and all. i want it in simple way....if anybody know please help me....
thank you

ajuv_001
Newbie Poster
7 posts since Jan 2011
Reputation Points: 10
Solved Threads: 0
 

Submit to the same page with the results, instead of going to a new page.
Always display the search criteria and if there was any input in the request and there were results also display those.

Assuming that you submit to a servlet, you take the results and send them to the same page then:

<display here the search bar>

 - take the results from the servlet.
 - If they were found display them
 - If this is the first you enter the page then there aren't any results, so don't display anything.


You need to post some code showing what technique you currently use

javaAddict
Nearly a Senior Poster
Team Colleague
3,329 posts since Dec 2007
Reputation Points: 1,014
Solved Threads: 448
 

thx dude....let me check

ajuv_001
Newbie Poster
7 posts since Jan 2011
Reputation Points: 10
Solved Threads: 0
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: