Hi,
The timeout will probably depend on the servlet engine, may be able to
adjust in the 'properties' file. An alternate approach may be to fire up
a thread to run the report, and pass back an 'instant' message to the
browser. A method (run from 'GET' or whatever)could check whether the
thread has completed and only pass back the report if this is the case.
Cheers,
Danny.

Engedal Bjarte Kr�ger wrote:
>
> Hi,
>
> I have a servlet that genereates a html-report based on data in a database,
> and parameters specified by the user. The report is generated by the servlet
> calling another class that returns a String containing the whole report,
> this string is then written to the user with out.println(). At times the
> user may request a _large_ report that may take a while to genereat (> 1,5
> min).
>
> My problem is that the browser (or is is the servlet/webserver) goes in
> timeout after about 70 secs. The execution of the method generating the
> report is then stopped, and the user is presented with a blank white page.
>
> Does anyone have an idea of how I can increase the timeout interval for the
> clients browser (or webserver, JWS1.1.3), so that the report generating
> method may finish?
>
> Regards,
> Bjarte Kr�ger Engedal
>
> ___________________________________________________________________________
> 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

--

Intermittent Web site :
http://members.xoom.com/dayers/_XOOM/dayers/index.html


Alternate email :
[EMAIL PROTECTED]

___________________________________________________________________________
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

Reply via email to