Please check your User class.. is there any specific requirement that it should extend ActionSupport class?
I have not worked on Struts 2.. but i haven't seen anywhere one action class being instance variable of other..
Gopakumar Naryanan wrote:Please check your User class.. is there any specific requirement that it should extend ActionSupport class?
It is not required that a java bean extend ActionSupport. As a matter of fact, Struts 2 doesn't require an action to extend ActionSupport, though ActionSupport implements many useful methods.
As I pointed out in my previous post, Gopakumar misspelled the method name in his action. Struts will not automatically call the validate method in the User bean