You don't invoke the javascript from your action. You probably want to use javascript to post the data, and then display the popup when you have received a response from the server. Google for 'ajax form' and 'javascript popup', and you will find many examples.
Nils-H On Thu, Feb 5, 2009 at 7:51 AM, Srikanth Goud <[email protected]> wrote: > > Hi, > How to invoke the javaScript from execute method? > And i am not clear with the reply u send. > > Srikanth > > > > Srikanth Goud wrote: >> >> Hi, >> I have a requirement where after saving data in to database , show a >> popup in the same page propmting Continue or ok. >> >> For this i am planning to write a javascript for popUp. >> But how to invoke the popup from the execute method? >> And how to write the JavaScript in the Bean? >> >> Or is there any another way ? >> >> Srikanth. >> > > -- > View this message in context: > http://www.nabble.com/Invoke-popup-after-saving-Data-tp21845666p21846146.html > Sent from the Struts - User mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > 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]

