Hi, guys:

I have two methods in a DispatchAction class: save,
delete

and I have two buttons in a jsp page: save, delete.

In order to successfully save and then forward to
another
page, I can do the following:

<html:submit><bean:message
key="button.save"/></html:submit>
<html:hidden property="method" value="save"/>

This works fine. But if I add code related with delete
method just following the above code:
<html:submit><bean:message
key="button.delete"/></html:submit>
<html:hidden property="method" value="delete"/>

Everything fails.

I am wondering how I can handle multiple
DispatchAction methods in a jsp page?

regards,


__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to