This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
The moose likes Struts and the fly likes Struts & Auto Validation Xdoclet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts & Auto Validation Xdoclet" Watch "Struts & Auto Validation Xdoclet" New topic
Author

Struts & Auto Validation Xdoclet

Andrew Mcmurray
Ranch Hand

Joined: Sep 24, 2005
Posts: 188
Hey all

I am trying to get Struts auto validate to work. Right now I keep getting an exception in my .jsp saying Bean "'nameOfForm' is not identified in the Struts Automatic Validator Configuration file". Now if I manually put this form name in the the Validation.xml file it works, but I need to have the xdoc put the name in the file for me dynamically. Can someone please tell me the tag and where to put it, I am thinking somewhere in my form bean?

Thanks,

AMD
Andrew Mcmurray
Ranch Hand

Joined: Sep 24, 2005
Posts: 188
Bump anybody???
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Struts & Auto Validation Xdoclet