jQuery in Action, 3rd edition
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
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Search results presentation" Watch "Search results presentation" New topic

Search results presentation

Hatim Khalifa

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

Joined: Jan 10, 2002
Posts: 63858

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

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