Thank you.
From: "Nathan Ewing" <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Subject: RE: close the window if no errors Date: Thu, 22 Apr 2004 11:41:29 -0400
Something like this in the <action></action>:
<forward name="done" path="/done.jsp"/>
-----Original Message----- From: sudheshna aaa [mailto:[EMAIL PROTECTED] Sent: Thursday, April 22, 2004 11:39 AM To: [EMAIL PROTECTED] Subject: RE: close the window if no errors
what should it be in the struts-config.xml corressponding to "done" to close the window?
Thank you.
>From: "Geeta Ramani" <[EMAIL PROTECTED]> >Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> >To: "Struts Users Mailing List" <[EMAIL PROTECTED]> >Subject: RE: close the window if no errors >Date: Thu, 22 Apr 2004 11:08:22 -0400 > >Yes you do! :) > >-----Original Message----- >From: sudheshna aaa [mailto:[EMAIL PROTECTED] >Sent: Thursday, April 22, 2004 11:14 AM >To: [EMAIL PROTECTED] >Subject: RE: close the window if no errors > > >But if I use >mapping.findForward( "done" ); screen is hanging > >Do I need to define "done" in struts-config.xml > >Thank you for your help. > > > >From: "Nathan Ewing" <[EMAIL PROTECTED]> > >Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> > >To: "Struts Users Mailing List" <[EMAIL PROTECTED]> > >Subject: RE: close the window if no errors > >Date: Thu, 22 Apr 2004 10:40:09 -0400 > > > >Just save like you normally would, and when it finishes do a "return > >(mapping.findForward("done"));", which goes to a page with the following > >as part of the html code: > > > ><body onLoad="javascript:self.close()"> > > > > > >Nathan > > > >-----Original Message----- > >From: sudheshna aaa [mailto:[EMAIL PROTECTED] > >Sent: Thursday, April 22, 2004 10:31 AM > >To: [EMAIL PROTECTED] > >Subject: close the window if no errors > > > >On the click of submit, I need to store the values in the database and > >if > >there are no errors, > >I need to close the window. > > > >Do I need to use <logic:empty> tag to see if the errors are empty---> > >then > >close the window > > > >Can somebody provide me the code. Thank you in advance. > > > >_________________________________________________________________ > >FREE pop-up blocking with the new MSN Toolbar - get it now! > >http://toolbar.msn.com/go/onm00200415ave/direct/01/ > > > > > >--------------------------------------------------------------------- > >To unsubscribe, e-mail: [EMAIL PROTECTED] > >For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > >--------------------------------------------------------------------- > >To unsubscribe, e-mail: [EMAIL PROTECTED] > >For additional commands, e-mail: [EMAIL PROTECTED] > > > >_________________________________________________________________ >FREE pop-up blocking with the new MSN Toolbar - get it now! >http://toolbar.msn.com/go/onm00200415ave/direct/01/ > > >--------------------------------------------------------------------- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] > > >--------------------------------------------------------------------- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] >
_________________________________________________________________ Stop worrying about overloading your inbox - get MSN Hotmail Extra Storage! http://join.msn.com/?pgmarket=en-us&page=hotmail/es2&ST=1/go/onm00200362 ave/direct/01/
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
_________________________________________________________________
MSN Toolbar provides one-click access to Hotmail from any Web page – FREE download! http://toolbar.msn.com/go/onm00200413ave/direct/01/
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]