Jen/Caroline,

Why are you listing a plugIn in your struts-config.xml when the files
described within the plugIn config don't exist?  If course you'll get error
messages. The validation-rules.xml describes to the plugIn how to configure
Javascript and server-side validation while the validations.xml (or whatever
you eventually name it) described the validations you wish to perform on
your various actions/forms which subclass the appropriate ValidatorForm,
ValidatorActionForm, DynaValidatorForm, etc. classes.

If you're not using the validator plugIn right now, just comment it out of
your struts-config.xml with the <!-- and --> comment marks.

Regards,
David

-----Original Message-----
From: Caroline Jen [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 01, 2004 2:34 PM
To: Struts Users Mailing List
Subject: RE: skipping validation rules file from
'/WEB-INF/validation.xml'


Thanks for replying to my question.

The validation entry in my struts-config.xml looks
like:

<plug-in
className="org.apache.struts.validator.ValidatorPlugIn">
        <set-property
            property="pathnames"

value="/WEB-INF/validator-rules.xml,/WEB-INF/validation.xml"/>
</plug-in>

Currently, I do not have either validator-rules.xml or
validation.xml file in the WEB-INF directory.  Is it
the cause of that message that appears in the Tomcat
console?
--- David Friedman <[EMAIL PROTECTED]> wrote:

> Jen,
>
> What is the entry in your struts-config.xml for
> validation?  Is there a
> WEB-INF/validation.xml or WEB-INF/validations.xml?
>
> Regards,
> David
>
> -----Original Message-----
> From: Caroline Jen [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, September 01, 2004 2:16 PM
> To: [EMAIL PROTECTED]
> Subject: skipping validation rules file from
> '/WEB-INF/validation.xml'
>
>
> When I start my Tomcat 5.0.27, I saw the following
> message in the console:
>
> "SEVERE: skipping validation rules file from
> '/WEB-INF/validation.xml'.  No stream could be
> opened."
>
> What is going on?  Something is wrong with the
> validation.xml? or something is wrong with the
> validation plug-in that I specified in my
> struts-config.xml?
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam
> protection around
> http://mail.yahoo.com
>
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
>
>
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
>
>




_______________________________
Do you Yahoo!?
Win 1 of 4,000 free domain names from Yahoo! Enter now.
http://promotions.yahoo.com/goldrush

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to