Hi I am new to Struts.
I am building a web application and i want to make use of Struts 2 inbuilt validation
But i am confused which way to use
either i should go for validation in action class by defining a validate method in the action class.
or i should use validation.xml