This is how I would handle this.
a servlet (or JSP page) starts a new thread that creates the report.
the request immediately returns with some "please wait..." message and a
refresh meta tag to rerequest the page every 10 seconds.
the class that creates the request (the one with the thread) can be stored
in the session. Every next request checks whether the report thread is still
running and displays the same "please wait " message again.
If the report is ready, the report can be shown.
get it?
Geert Van Damme
> -----Original Message-----
> From: A mailing list about Java Server Pages specification and reference
> [mailto:[EMAIL PROTECTED]]On Behalf Of Raja Nagendra Kumar
> Sent: donderdag 20 juli 2000 15:09
> To: [EMAIL PROTECTED]
> Subject: Long timeout required
>
>
> Hi!
>
> How do I control the browser time out, when a JSP is invoked...
> I am doing lot
> of database interaction to generate the HTML content. In the worst case
> senario it takes 10 minutes.. to get the results...
>
> I know it is the most inefficient way to do.. As my project is
> internal R&D
> project this much time delay is tollerable at this point of time.
>
> Is there any way to tell the browser to wait for ever, through HTML
> headers..tags..
>
> Regards,
> Nagendra
>
> ==================================================================
> =========
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> JSP-INTEREST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
> http://java.sun.com/products/jsp/faq.html
> http://www.esperanto.org.nz/jsp/jspfaq.html
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>
>
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets