RE: Splash Screen in Struts

2003-07-17 Thread Edgar Dollin
To: 'Struts Users Mailing List' Subject: Re: Splash Screen in Struts OK, for those of you following this thread, I ended up getting this to work, although it's kind of ugly IMHO. In splashAction, I cram the form containing the data from input.jsp into the request, then forward

RE: Splash Screen in Struts

2003-07-17 Thread Gandle, Panchasheel
fields and resubmit check out... Panchasheel -Original Message- From: Edgar Dollin [mailto:[EMAIL PROTECTED] Sent: Thursday, July 17, 2003 4:40 AM To: 'Struts Users Mailing List' Subject: RE: Splash Screen in Struts Nice, clear, and will be usefull for me. If you are using session

Re: Splash Screen in Struts

2003-07-16 Thread Dhruva B. Reddy
OK, for those of you following this thread, I ended up getting this to work, although it's kind of ugly IMHO. In splashAction, I cram the form containing the data from input.jsp into the request, then forward to splash.jsp, which keeps the data in hidden fields (populated by the previous form).

Re: Splash Screen in Struts

2003-07-15 Thread Yann Cébron
I have an Action that could potentially take a long time to execute, and would like to display a splash screen until the results of the action are ready. I went googling for this, but I can't seem to find a solution that would fit within the Struts framework. Has anyone done this before?

RE: Splash Screen in Struts (Please Wait page)

2003-07-15 Thread James Childers
Yes. But beware O Man, beware, of Those who tread in Darkness the ramparts of Kadath, for he that beholds Their mitred-heads shall know the claws of doom. I've actually been struggling with this for a while now, and have come up with a solution that (mostly) works, but it has been difficult.

Re: Splash Screen in Struts

2003-07-15 Thread Dhruva B. Reddy
OK, let me ask this: Let's say that I have input.jsp, which goes to longAction.do, which in turn forwards to long_results.jsp when finished. I've noticed that the contents of input.jsp remain displayed after the submit button is clicked, until the contents of input.jsp are ready for the browser

RE: Splash Screen in Struts (Please Wait page) (Cont'd, sorry)

2003-07-15 Thread James Childers
-Original Message- From: James Childers Sent: Tuesday, July 15, 2003 2:59 PM To: Struts Users Mailing List Subject: RE: Splash Screen in Struts (Please Wait page) Yes. But beware O Man, beware, of Those who tread in Darkness the ramparts of Kadath, for he that beholds

Re: Splash Screen in Struts

2003-07-15 Thread Aaron Longwell
Dhruva, I have done this before the absolute cleanest implementation is almost 100% javascript: 1) Javascript submit(); call to start POST page loading 2) Javascript delete contents of the window (javascript:document.clear();) 3) Write new content to the window... adding in an img tag to a

RE: Splash Screen in Struts

2003-07-15 Thread michael . korolyov
Aaron, what will happen when server action takes 1-5 min? user may get TIMEOUT ... tnx -Original Message- From: Aaron Longwell [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 15, 2003 1:27 PM To: Struts Users Mailing List Subject: Re: Splash Screen in Struts Dhruva, I have done

Re: Splash Screen in Struts

2003-07-15 Thread Dhruva B. Reddy
This doesn't seem to work--nothing after the first submit() call gets executed. I assume you put all of this code in the onclick handler for the submit button. --- Aaron Longwell [EMAIL PROTECTED] wrote: Dhruva, I have done this before the absolute cleanest implementation is almost

Re: Splash Screen in Struts

2003-07-15 Thread Aaron Longwell
I'll have to look into this... I know I did it before in a situation with frames Javascript was actually executed in some other frame... so that the long-loading window could be manipulated by another frame (which can always execute javascript even when the other window is loading).