File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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
I agree. Here's the link:
subject: Struts Validation Problem
jQuery in Action, 3rd edition