You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by GMaine <ja...@jacobweber.com> on 2004/05/14 18:31:28 UTC

Using DispatchActions with validation

I have a DispatchAction with two methods. I pass a hidden field "method" in
my form, to determine which method should be called. But I want to override
this and call a specific method if the form's validation fails.

Is it legitimate to put this in the action mapping?
    input="/myAction.do?method=myMethod"

Or could this conflict with the "method" hidden field?

Jacob




---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org