This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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: 125

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


kill your pride, share your knowledge with all
jQuery in Action, 2nd edition
subject: Struts Validation Problem
Similar Threads
Getting teh same JSP
Displaying error in multi page form.
Validation Exception in FieldCheck class
problem log out
The input attribute of the action tag not working