Hi I am having difficulty in validating a bean property using xwork framework.I am using annotations for specifying validations.
here is the code
given the above files how to do we enforce name property as required using annotaions ?Just an fyi I dont want to define the name property in the action class.I want to impose validations directly on the bean itself.
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
subject: validate a bean property in struts 2 using Xwork framework