>Would I load a "wait while loading" page, then redirect to the page that
>does the processing?


That brings you back to the same problem - loading time of the second page
- which will remain the same.

In the above solution, you've just added one additional page to your
application, which neither brings down the time of execution of the actual
application (ur 2nd page) nor gives a 'while loading' solution. Know what I
mean ?

One way I can think of doing this, is to pop up a window using JavaScript
(which says 'Pls wait..loading page" and has some action going on to
distract the user) and then insert some more JavaScript code towards the
very end of your second (jsp) page, which will close the earlier popup window.

So, when the second JSP page has fully loaded - which means it just
finished executing the JavaScript towards the very end (just before the
</BODY> tag) in the page - the page-end JavaScript will fire and close down
your earlier pop up window.

This is the first solution that came to my mind. Hope this helps.

Would be interesting to see what ideas others come up with.

My 2 cents worth,

- Ravi
------------------------------------------
More than 150 of the World's Cutest Babies
Only at : http://BabyNamesIndia.com
------------------------------------------





At 12:15 PM 2/7/01 -0800, you wrote:
>A JSP page that is loaded takes variable lengths of time (sometimes a few
>second, sometimes 30 seconds or more) for processing to occur before the
>generated PDF file is displayed. During the wait period, it would be ideal
>to display a "wait while loading ..." page was displayed in the browser
>window so that users know something is happening.  Since I'm new to JSP, the
>solution isn't obvious, so I'd appreciate any ideas. Would I load a "wait
>while loading" page, then redirect to the page that does the processing?
>
>Thanks,
>
>Steve
>
>===========================================================================
>To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
>JSP-INTEREST".
>For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
>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".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
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

Reply via email to