Hello Daniel,

I seem to be a little late for this discussion, but here
are my 0.02€ anyway.

If it wasn't the servlet API, you could try to send a
status 100 response every few minutes. I'm not sure what
the servlet API will do if you try to send intermediate
responses, but I guess it will fail one way or another.

The other idea has already been mentioned: process the
request asynchronously. If you get the result in time,
send it back directly. If you don't have the result after
n minutes, send a redirect that will be automatically
followed by a browser or HttpClient. The servlet to which
the redirect points then picks up the asynchronous request
that is being processed. If the result is not available
after another n minutes, repeat. As soon as you have the
result or a failure, generate the final response.

cheers,
  Roland



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to