You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Caroline Jen <ji...@yahoo.com> on 2004/09/01 20:16:22 UTC
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: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
RE: skipping validation rules file from '/WEB-INF/validation.xml'
Posted by David Friedman <hu...@ix.netcom.com>.
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:jiapei_jen@yahoo.com]
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 <hu...@ix.netcom.com> 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:jiapei_jen@yahoo.com]
> Sent: Wednesday, September 01, 2004 2:16 PM
> To: struts-user@jakarta.apache.org
> 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:
> user-unsubscribe@struts.apache.org
> For additional commands, e-mail:
> user-help@struts.apache.org
>
>
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> user-unsubscribe@struts.apache.org
> For additional commands, e-mail:
> user-help@struts.apache.org
>
>
_______________________________
Do you Yahoo!?
Win 1 of 4,000 free domain names from Yahoo! Enter now.
http://promotions.yahoo.com/goldrush
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
RE: skipping validation rules file from '/WEB-INF/validation.xml'
Posted by Caroline Jen <ji...@yahoo.com>.
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 <hu...@ix.netcom.com> 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:jiapei_jen@yahoo.com]
> Sent: Wednesday, September 01, 2004 2:16 PM
> To: struts-user@jakarta.apache.org
> 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:
> user-unsubscribe@struts.apache.org
> For additional commands, e-mail:
> user-help@struts.apache.org
>
>
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> user-unsubscribe@struts.apache.org
> For additional commands, e-mail:
> user-help@struts.apache.org
>
>
_______________________________
Do you Yahoo!?
Win 1 of 4,000 free domain names from Yahoo! Enter now.
http://promotions.yahoo.com/goldrush
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
RE: skipping validation rules file from '/WEB-INF/validation.xml'
Posted by David Friedman <hu...@ix.netcom.com>.
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:jiapei_jen@yahoo.com]
Sent: Wednesday, September 01, 2004 2:16 PM
To: struts-user@jakarta.apache.org
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: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org