I am trying for days to validate my form using validation framework of struts, I am not able to figure out the problem. I have seen many posts. Did as they say. But all in vain. Not able to validate. Please help me figure out the problem in my code.
I have a login form that needs to be validated. I am new to struts. So this is just a test program.
Any help will be appreciated. No error message is displayed.
Thanks Jaspreet ----- Nothing is permanent
posted 5 years ago
The problem is I think while calling action in login.jsp.
Use, <s:form action="login" method="post" validate="true"> instead of action= "login.action". This might work.