Hi,

I have also added an animated gif apart from the message 'Please wait..'

Since the redirect() method is being called on loading of the body, the
browser is not animating the GIF and it is shown as a normal image. Any
solution?

Thanks,
Suresh

>-----Original Message-----
>From: A mailing list for discussion about Sun Microsystem's
>Java Servlet API Technology.
>[mailto:SERVLET-INTEREST@;JAVA.SUN.COM] On Behalf Of Padhu Vinirs
>Sent: Tuesday, October 29, 2002 7:28 PM
>To: [EMAIL PROTECTED]
>Subject: Re: File Upload Progress
>
>
>For timeout, you can call setMaxInactiveInterval on the server
>side. This is an example wait I have tried that seems to work.
>If you could display an animated gif ( like expedia.com does
>), then it could look professional:
>
><html>
><body onLoad="redirect()">
>Please wait...
></body>
><script language="javascript">
>function redirect()
>{
>    window.location.href="http://192.168.97.90:8080/UploadServlet";;
>}
></script>
></html>
>
>
>-- padhu
>
>Suresh Addagalla wrote:
>
>>Hi,
>>
>>I have the following issue in implementing a File Upload
>page. I'm using Servlets/JSP on Apache/Tomcat.
>>
>>The file to be uploaded can be potentially very large. The
>servlet, after getting the file, needs to parse it and do some
>DB operations and then send the response. I should display
>some "progress bar" when this operation is in progress. What
>is the best way to do this? References to any standard
>approaches would be highly useful.
>>
>>Also, how do I handle the timeout issue? If the file is
>large, I am expecting the operation to take longer time than
>the browser timeout. Pls advice.
>

**************************Disclaimer**************************************************

 Information contained in this E-MAIL being proprietary to Wipro Limited is 
'privileged'
and 'confidential' and intended for use only by the individual or entity to which it is
addressed. You are notified that any use, copying or dissemination of the information
contained in the E-MAIL in any manner whatsoever is strictly prohibited.

****************************************************************************************



Reply via email to