Greetings,
I have an action bean A with a property x with getter/setter. The submit
method of A returns a ForwardResolution to action bean B. The property X is
annotated with @Validate:
class A extends BaseAction {
@Validate(on=submit, required=true, mask=...)
private String x;
public
Hi Aaron,
It is validating with A then it forwards to B which receives the same
request parameters so it tries to validate and bind to B also. You may
want to redirect to B instead of forwarding to it if you're not trying
to pass the request parameters along. With a forward the URL in the
Hello Aaron,
Thank you for the explanation. Now it all makes sense. So, to use forward, I
need the @DontValidate on the B method that is invoked.
-a
On 27 July 2010 22:02, Aaron Porter aa...@mongus.com wrote:
Hi Aaron,
It is validating with A then it forwards to B which receives the same