jQuery in Action, 3rd edition
The moose likes Struts and the fly likes struts validation framework Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "struts validation framework" Watch "struts validation framework" New topic

struts validation framework

zohreh talebi
Ranch Hand

Joined: Sep 01, 2006
Posts: 41

when i start using validation framework i encounter with this error .

javax.servlet.UnavailableException : Cannot load a validator resource from '/WEB-INF/validator-rules.xml,/WEB-INF/validation.xml'

INFO: Servlet action is currently unavailable

this error just occures when i use validation frame work .

what should i do ?


Mark Manns

Joined: Jul 06, 2006
Posts: 14
did you enable validation? you have to add this to the struts-config.xml file so struts can find the validation xml files:

<plug-in className="org.apache.struts.validator.ValidatorPlugIn">
<set-property property="pathnames"
I agree. Here's the link: http://aspose.com/file-tools
subject: struts validation framework
It's not a secret anymore!