[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Database Search Results in Multiple JSPs



On Thu, 2001-10-11 at 02:46, Manu(Hotmail) wrote:
> Hi,
> 
> I'm making this search engine for an Application using JSPs, but the results of the query are to be displayed in multiple pages as in any common search engine. Can anyone tell me how to do this without requerying the database and without using persistent objects.
> 
> One option is to store the resultset in the session, but can someone give me a better idea ?
> some good references would also be helpful.

I am guessing that you think this is a bad idea because it holds a
connection to the database open why you wait for the user to request the
follow-up pages.

If this is the case, then just store the results in a caching structure
and associate the cache with the session.


Randy


> 
> Thanks,
> 
> Manu
> 
>