Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Problem with Validation in multiple pages using Struts

 
Greenhorn
Posts: 16
Eclipse IDE Tomcat Server Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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...
 
Ranch Hand
Posts: 296
Eclipse IDE Firefox Browser Tomcat Server
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
Please do not create duplicate thread
 
I've got no option but to sell you all for scientific experiments. Or a tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
    Bookmark Topic Watch Topic
  • New Topic