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 validator Plug-in Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "struts validator Plug-in " Watch "struts validator Plug-in " New topic

struts validator Plug-in

natasa jones
Ranch Hand

Joined: Aug 20, 2006
Posts: 45
i would like to use struts validation.xml in order to achieve client-side validation.the problem is that when i write
<plug-in className="org.apache.struts.validator.ValidatorPlugIn">
<set-property property="pathnames"

in struts-config.xml,i receive this error:
HTTP Status 404 - Servlet action is not available
type Status report
message Servlet action is not available
description The requested resource (Servlet action is not available) is not available.

Does anyone know why this is happening?
thank you in advance!
Pranav Sharma
Ranch Hand

Joined: Oct 27, 2003
Posts: 258
You are probably missing the validator-rules.xml, validation.xml files under WEB-INF/
natasa jones
Ranch Hand

Joined: Aug 20, 2006
Posts: 45
you are right,thank you
I agree. Here's the link:
subject: struts validator Plug-in
It's not a secret anymore!