RE: Can DispatchAction have a default action?

2002-06-11 Thread Kevin Henrikson
> Why do you have two action mappings for the same DispatchAction? To get around the validation. > > You can just have one action mapping like, > >type="org.apache.struts.validator.DynaValidatorForm" > > > > >type="com.example.InputAction" > name="InputForm"

Re: Can DispatchAction have a default action?

2002-06-11 Thread Raffy_Lata
Why do you have two action mappings for the same DispatchAction? You can just have one action mapping like, Then invoke it using /ProcessInput?o=edit /ProcessInput?o=save Take a look at the source code for DispatchActionyou may have to create your own versi