File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes HTML, CSS and JavaScript and the fly likes Search results presentation Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Search results presentation" Watch "Search results presentation" New topic
Author

Search results presentation

Hatim Khalifa
Greenhorn

Joined: Mar 08, 2007
Posts: 5
Hi there...
Well I have to create a dynamic page wherein the user is given the opportunity to search accross the site. however, it's most likely that the search will return many reaults, with an average of 30 reuslts. It's unlikely to display all the results in one page, hence the user should be given small links at the bottom of the page to indicate the number of pages reulted from the search and also to allow the user move from one result set to another. This is very much similar to the approach implemented by major serach engine such as Yahoo.
My question is, what is the theory behind this technique? I doubt that the web server will save all the results. Is this related to SQL and how the database is queried? Please shower me with your valuable instructions.


Hatim O. Khalifa<br />SCJP, SCJD
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61082
    
  66

There is an entry in the JSP FAQ regarding pagination that you might find helpful.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Search results presentation