can you display the error messages from TC logs?
when you run your script in FF with firebug do you see any JS errors?
also please attach applicable catalina.policy files

thanks
Martin 
______________________________________________ 
Disclaimer and confidentiality note 
Everything in this e-mail and any attachments relates to the official business 
of Sender. This transmission is of a confidential nature and Sender does not 
endorse distribution to any party other than intended recipient. Sender does 
not necessarily endorse content contained within this transmission. 




> Subject: Re: Displaying "Please Wait" message
> From: [EMAIL PROTECTED]
> To: user@struts.apache.org
> Date: Tue, 9 Dec 2008 18:34:13 -0500
> 
> One thing I have done in the past is to replace the submit button with
> an animated gif that resembles a status bar. This keeps users from
> double posting the form, and gives a bit of visual feedback to indicate
> to the user that he/she should wait.
> 
> If you want something more, you should take a look at the Execute and
> Wait Interceptor. ->
> 
> http://struts.apache.org/2.x/docs/execute-and-wait-interceptor.html
> 
> 
> 
> On Tue, 2008-12-09 at 14:40 -0800, RudyG wrote:
> > Hello.
> > 
> > I have an odd problem that I can't seem to resolve. I use struts along with
> > JSP to call Java Servlets on the back end. Some back end calls take a little
> > while when used by the WEB users so I've been asked to put up a message that
> > tells the users to "Please Wait" so that they don't press the Submit button
> > multiple times. So what I ended up doing was calling a Javascript function
> > from within the onclick() event of the Submit button. And here are the
> > contents of the function:
> > 
> > function splashScreen()
> > {
> >     document.write("<p
> > style='color:black;background-color:aqua;text-align:center;margin:25% 25%
> > 10% 25%;border: medium double black;'>Processing Data.<br>Please
> > Wait.</p>");
> >     document.forms[0].submit();
> >     return true;
> > }
> > 
> > However the problem is that after the document write is executed the
> > processing stops. All attempts of doing the submit() from Javascript also
> > does not work as it gives some sort of permission violation. Does anyone
> > have any suggestions?
> > 
> > Thank you in advance.
> > Rudy
> > 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

_________________________________________________________________
Suspicious message? There’s an alert for that. 
http://windowslive.com/Explore/hotmail?ocid=TXT_TAGLM_WL_hotmail_acq_broad2_122008

Reply via email to