RE: newbie question: how to handle two dispatchAction methods in a jsp page?

2003-09-12 Thread Jerome Devost
', otherwise it will confuse Internet Explorer. -Original Message- From: victor gusz [mailto:[EMAIL PROTECTED] Sent: Friday, September 12, 2003 14:04 To: Struts Users Mailing List Subject: RE: newbie question: how to handle two dispatchAction methods in a jsp page? Hi, Jerome: Than

RE: newbie question: how to handle two dispatchAction methods in a jsp page?

2003-09-12 Thread victor gusz
Hi, Jerome: Thanks for helping. I tried out your code. Strangely, if I click on either save button, or delete button, now they both forward to save page. It seems action still forwards to save method even I clicks on delete button. Any idea? regards, --- Jerome Devost <[EMAIL PROTECTED]> wr

RE: newbie question: how to handle two dispatchAction methods in a jsp page?

2003-09-12 Thread Jerome Devost
Hi Victor, If you have both and buttons in the same form, both method are submitted when you pressed either button. You could change the value with javascript code before submitting the form. Something like this might work : -Original Message- From: victor gusz [mailto:[E