wood burning stoves 2.0*
The moose likes Struts and the fly likes Struts Validation Problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts Validation Problem" Watch "Struts Validation Problem" New topic

Struts Validation Problem

sajan chandran chandran

Joined: Oct 10, 2006
Posts: 2
Hi Friends..

Am using page attribute in validation.xml to validate some of the fields in my 3rd jsp.Its working fine for me.But when the validation got failed in my 3rd jsp am getting the error message in my first jsp (because in the "input" attribute in struts-config.xml points to my first jsp).
My doubt is when the validation fails in any page i should get my corresponding error messages in that page.How to aviod going to my input page.

Thanks in advance.
Manuel Jordan
Ranch Hand

Joined: Sep 29, 2006
Posts: 131

can you share your config files and the message error report?


kill your pride, share your knowledge with all
It is sorta covered in the JavaRanch Style Guide.
subject: Struts Validation Problem
Similar Threads
The input attribute of the action tag not working
Getting teh same JSP
problem log out
Validation Exception in FieldCheck class
Displaying error in multi page form.