You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by sriram <sr...@nunet-tech.com> on 2003/07/09 06:36:11 UTC
Error with validator-rules.xml - No stream could be opened
I am trying to use validator with validator-rules.xml (for struts1.0). When I deploy the .ear file on JBoss, I'm getting the following error:
10:07:15,247 INFO [Engine] validator: Skipping validation rules file from '/WEB -INF/validator-rules.xml'. No stream could be opened.
I tried removing lot of code in validator-rules.xml and finally to test it I've removed almost all the code. Here is the code contained in validator-rules.xml:
<form-validation>
<global>
<validator name="required"
classname="org.apache.struts.validator.util.StrutsValidator"
method="validateRequired"
msg="errors.required">
</validator>
</global>
</form-validation>
Still I'm getting the same error. Any idea how to get rid of this will be helpful to me.
Sriram