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[Very argent] Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts validation[Very argent]" Watch "Struts validation[Very argent]" New topic

Struts validation[Very argent]

sudhan reddy

Joined: Apr 07, 2007
Posts: 7
In struts-blank i use to edit the validation.xml file to validate my aplication but in In myEclipse 5.5[IDE] i can't find validation.xml file so where can i insert my validation keys to validate my application....

Its very urgent....

Thank in advance....
Kevin Liu

Joined: Mar 17, 2007
Posts: 10
You could put the validation.xml file into .../WEB-INF/validation.xml,which is the same directory as the struts-config.xml file,
and in the config file, you should:

<plug-in className="org.apache.struts.validator.ValidatorPlugIn">
<set-property property="pathnames"
/WEB-INF/validation.xml" />
I agree. Here's the link:
subject: Struts validation[Very argent]
It's not a secret anymore!