You could always have the user launch the report with a target="_blank" in the link. Then the report opens in its own window and loads while they can click back to the first window and continue working. It also means that the report doesn't interfere with where they are in your site.
-----Original Message----- From: Roger Varley [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 17, 2001 8:03 AM To: [EMAIL PROTECTED] Subject: Re: Forcing user interaction >You can use javascript to open another window, and invoke the servlet that create the report in thos new window. > Hi Gerardo I'd prefer a non javascript approach for two reaons. Firstly, it won't work if the user has javascript turned off and secondly, I know diddly squat about javascript. Could you point me towards some example code that would do as you describe. Regards Roger >> >> Hi All >> >> I've a requirement to display sales reports from our backend ERP system (SAP >> R/3) on the web. I've got a servlet that recieves the request, validates the >> parameters and submits the query. The first problem is that, with the best >> will in the world, I can't get the query to run in under 8 minutes -which is >> too long to wait. What I'd like to do is to allow the user to continue >> browsing the site after submitting the request and A.) if they're still >> attached when the report is ready then either pop up a display with the data >> or a dialog box that when clicked, takes them to the report page. >> B) If they're not attached, then I want to e-mail them the results. >> >> I'd welcome any hints on how to do (A) >> >> Regards >> Roger >> >> >> _________________________________________________________ >> Do You Yahoo!? >> Get your free @yahoo.com address at http://mail.yahoo.com >> >> >> ___________________________________________________________________________ >> 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 >> >> > >___________________________________________________________________________ >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 _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com ___________________________________________________________________________ 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 ___________________________________________________________________________ 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
