This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv on-line!
See this thread for details.
The moose likes Struts and the fly likes validator plugin & struts-config Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "validator plugin & struts-config" Watch "validator plugin & struts-config" New topic

validator plugin & struts-config

Fernando Dominguez
Ranch Hand

Joined: Sep 01, 2006
Posts: 104

When I put the following code

<plug-in className="org.apache.struts.validator.ValidatorPlugIn">
<set-property property="pathnames"
value="/WEB-INF/validator-rules.xml , /WEB-INF/validation.xml" />

into struts-config I get that that action/ resource was not available.

It worked in struts 1.1 but now I'm ussing 1.3.8
It is sorta covered in the JavaRanch Style Guide.
subject: validator plugin & struts-config
It's not a secret anymore!