This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile forum!
    Bookmark Topic Watch Topic
  • New Topic

Problem with Validation in multiple pages using Struts

 
Arka Mitra
Greenhorn
Posts: 16
Eclipse IDE Java Tomcat Server
  • Mark post as helpful
  • send pies
  • Report post to moderator
Hi,
I am developing a web application using Struts and used from bean which extends ValidatorForm for validation purpose. I have one Login.jsp page where user will login with his/her User ID, password and one Registration.jsp page where new user will register like any normal applications. I have given proper validations on both the pages and used validate(ActionMapping mapping, HttpServletRequest request) method. All kinds of validation codes are perfectly OK and working fine indivisually that I have tested seperately. But my problem is when I am in Registraion.jsp page and submitting the form with wrong data, the validations are not working and it's redirecting to Login.jsp page and displaying the validation messages of Login.jsp page. Please give me any idea about this problem. I can provide you more information regarding this if you want. Please help...
 
Sumit Patil
Ranch Hand
Posts: 296
Eclipse IDE Firefox Browser Tomcat Server
  • Likes 1
  • Mark post as helpful
  • send pies
  • Report post to moderator
Please do not create duplicate thread
 
    Bookmark Topic Watch Topic
  • New Topic