I got it working...
and I have to change my struts.xml file as follow
This is intend for those who are like me(newbie) in
Struts and Hibernate...
You see no 1 and 5 is required as I am using full hibernate plugin. And according to the rule, there should be basic stack or default stack in your newly created stack.
without that you will get nullPointerException.
you see no 2 is required this is because ( you might need to go above of this page and look for "CustomerAction", which is implemented using modeldriven.)
for that reason you need it. again if you do not turn on ModelDriven Interceptor, you will get NullPointerException.
you see no 3 is required this is because somewhere in my application (which you can not have a reference here), username and password is required and that params interceptor is required for that reason.
without that again NPE.
and No 4 is the validation which is required to validate against user input.
that is all ...
(if i state something wrong here, I will happily take any suggestion and improvement.)
Thanks...