tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Josh Knowles <Josh.Know...@worldwidepackets.com>
Subject RE: temporary page
Date Wed, 29 Nov 2000 19:42:14 GMT
Another idea would be to use forward to forward them to a temp page.  The
servlet would still have control and could finish working and then forward
or redirect to the final page.

-----Original Message-----
From: Sayles, Scott SAXONHQ [mailto:SaylesS@Saxonmtg.com]
Sent: Wednesday, November 29, 2000 11:08 AM
To: 'tomcat-user@jakarta.apache.org'
Cc: 'gmartorella@sivaspa.com'
Subject: RE: temporary page


Here's another possibility:

Send a response and display something like "Working Please wait" and
continually flush out a little bit of text at a time like "....." during
processing.  When you're done processing, you could display a javascript
call like the following.

<script language="javascript">
window.location="theOtherPage.jsp"
</script>

Of course, you'll want to make sure not to enclose the message inside a
table.  Typically, a browser won't display a table until it has all of it.



-----Original Message-----
From: Gianluca [mailto:gmartorella@sivaspa.com]
Sent: Wednesday, November 29, 2000 11:14 AM
To: tomcat-user
Subject: temporary page


how can i send to the browser a temporary html page from servlet invoked
with post method while it is woking ?
i want that only after my servlet has finished it will response with a
sendRedirect method to the client.
 
Is it possible that ?

Thanks. 

Mime
View raw message