hi Sudheshna, Pls check u have given the struts-congfig.xml that "done" bcoz.. when u r forwarding the actionpage to search at struts-config.xml then it will send the link.....something u have specified in the somethin.do action inthe struts-config.xml . >From the jsp r javascript it will fetch the *.do action . bye. Jbalaji
sudheshna aaa <[EMAIL PROTECTED]> wrote:what should it be in the struts-config.xml corressponding to "done" to close the window? Thank you. >From: "Geeta Ramani" >Reply-To: "Struts Users Mailing List" >To: "Struts Users Mailing List" >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" > >Reply-To: "Struts Users Mailing List" > >To: "Struts Users Mailing List" > >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: > > > > > > > > > >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 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/onm00200362ave/direct/01/ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------- Do you Yahoo!? Yahoo! Photos: High-quality 4x6 digital prints for 25¢