Better to store the pages on the session than write out files. That way they will be
'deleted' automatically some time (dependent on the GC) after the session is
invalidated.
- simon
Yuki Tanabe wrote:
> Thanks for your help!
>
> The problem with just returning the result page in a single.html file is that
> the it could contain anything up to 1000 rows, and I am worried that this would
> take ages to load. What if what the user actually needed to see was in the first
> 100 rows? Ideally, I would like to immitate something done, for example, by the
> Amazon.com site.
>
> After having some of your advices I am planning to do the following:
> 1. Generate appropriate number of pages according to the query nad store them as
> .html files.
> 2. Once the session with the current user is over, delete these pages.
>
> I'm still new to this stuff so I'll have to figure out how to do part 2, but
> please commment on my overall approach.
>
> Any help is greatly appreciated!
>
> Regards,
>
> Yuki
>
> ______________________________________________________________________
> This E.Mail is confidential and intended for its addressee only. If you have
> received this in error, please delete it from your PC and inform us by
> telephone.
>
> No reliance may be placed upon this E.Mail without written confirmation of its
> contents and any liability arising from such reliance without written
> confirmation is hereby excluded. Copyright in this E.Mail remains with the
> Sumitomo Bank Limited
>
> _
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html