Hi,
I'm using Struts 2.0.14 and validation annotations. I have a
UpdateUserAction class which implements ModelDriven and declares the
execute() method with the following :
@Validations( visitorFields = { @VisitorFieldValidator(message=,
fieldName=model)} )
My model is a User class which has a
Hehe, I've just resolved my own issue!
The problem was my spring configuration. I needed to
specify scope=prototype on each of my Struts 2 Action declarations.
Singleton actions were being created and thus previous field errors were
being carried over between requests.
I'm surprised this isn't a
2 matches
Mail list logo