If you want to call a different method on an action, use the "method" attribute:

<s:submit action="myAction" method="update"/>

Don

On 10/3/06, Garner Shawn <[EMAIL PROTECTED]> wrote:
I'm trying to calldefferent methods in action on button press.
I filled out the action attribute on the s:submit buttons to be
myAction!update myAction!add myAction!delete which I'm expecting it to
call the add, update, and delete methods in my action.  Is this all I
need to do because I'm getting an exception and I'm not sure if it's
related or not.

Shawn

---------------------------------------------------------------------
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]

Reply via email to