• Post Reply Bookmark Topic Watch Topic
  • New Topic

Validation framework not working for login screen

 
Rahul somanath
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am really getting frustrated in making the validation framework work for my login screen.

I have done almost all the things correctly but could not figure where i have gone wrong.
Below contain my struts-config.xml file



Below is the content of validation.xml file



next is the content of login.jsp page.

It will be great if someone could identify the mistake i have made. Currently when i click login button without entering anything in the username field nothing happens. I currently expect validation error message to be displayed for not entering the username

 
Rahul somanath
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have resolved the issue. There was a invalid <form-bean/> tag in the struts config file.
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!