You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by "Anja Fischer, IBE" <an...@ibe.med.uni-muenchen.de> on 2007/07/06 10:31:22 UTC
struts validation
Hi all,
I use the struts validation plugin. Now tomcat runs into a
javax.servlet.UnavailableException: Cannot load a validator resource
from '/WEB-INF/validator-rules.xml, /WEB-INF/validation.xml'
Like it is described in the struts user guide I replaced the dtd in
validation.xml and validator-rules.xml with
<!DOCTYPE form-validation PUBLIC "-//Apache Software Foundation//DTD
Commons Validator Rules Configuration 1.0//EN"
"http://jakarta.apache.org/commons/dtds/validator_1_0.dtd">
I don't have an idea what is still going wrong and there is nothing more
to find in the internet. Please send me your help.
Many regards,
Anja
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
AW: AW: struts validation
Posted by "Anja Fischer, IBE" <an...@ibe.med.uni-muenchen.de>.
Hi Jorge,
it's running now because I replaced the struts lib with the latest
build! But I don't have a clue what the problem was.
Thank you for your help.
Best wishes
Anja
-----Ursprüngliche Nachricht-----
Von: Jorge Martín Cuervo [mailto:jorge.martin@defactops.com]
Gesendet: Freitag, 6. Juli 2007 11:17
An: Struts Users Mailing List
Betreff: Re: AW: struts validation
are you sure that you have this files in WEB-INF? are you using any IDE
like eclipse or netbeans?
El vie, 06-07-2007 a las 11:13 +0200, Anja Fischer, IBE escribió:
> Hi,
>
> that's the same I have in my struts-config.xml. For checking I paste
> it
> here:
>
> <plug-in className="org.apache.struts.validator.ValidatorPlugIn">
> <set-property property="pathnames"
>
> value="/WEB-INF/validator-rules.xml,/WEB-INF/validation.xml" />
> </plug-in>
>
> Anja
>
>
>
>
> -----Ursprüngliche Nachricht-----
> Von: Jorge Martín Cuervo [mailto:jorge.martin@defactops.com]
> Gesendet: Freitag, 6. Juli 2007 11:02
> An: Struts Users Mailing List
> Betreff: Re: struts validation
>
>
> i've in my struts-config.xml:
>
> <plug-in className="org.apache.struts.validator.ValidatorPlugIn">
> <set-property
> property="pathnames"
> value="/WEB-INF/validator-rules.xml,/WEB-INF/validation.xml"/>
> </plug-in>
>
>
> can you send us the struts-config.xml related portion?
>
> El vie, 06-07-2007 a las 10:31 +0200, Anja Fischer, IBE escribió:
> > Hi all,
> >
> > I use the struts validation plugin. Now tomcat runs into a
> > javax.servlet.UnavailableException: Cannot load a validator resource
> > from '/WEB-INF/validator-rules.xml, /WEB-INF/validation.xml'
> >
> > Like it is described in the struts user guide I replaced the dtd in
> > validation.xml and validator-rules.xml with
> >
> > <!DOCTYPE form-validation PUBLIC "-//Apache Software Foundation//DTD
> > Commons Validator Rules Configuration 1.0//EN"
> > "http://jakarta.apache.org/commons/dtds/validator_1_0.dtd">
> >
> >
> > I don't have an idea what is still going wrong and there is nothing
> > more to find in the internet. Please send me your help.
> >
> > Many regards,
> > Anja
> >
> >
> > --------------------------------------------------------------------
> > -
> > To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> > For additional commands, e-mail: user-help@struts.apache.org
> >
--
____________________________________
Jorge Martin Cuervo
Analista Programador
Outsourcing Emarketplace
deFacto Powered by Standards
email <jo...@defactops.com>
voz +34 985 129 820
voz +34 660 026 384
____________________________________
---------------------------------------------------------------------
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: AW: struts validation
Posted by Jorge Martín Cuervo <jo...@defactops.com>.
are you sure that you have this files in WEB-INF? are you using any IDE
like eclipse or netbeans?
El vie, 06-07-2007 a las 11:13 +0200, Anja Fischer, IBE escribió:
> Hi,
>
> that's the same I have in my struts-config.xml. For checking I paste it
> here:
>
> <plug-in className="org.apache.struts.validator.ValidatorPlugIn">
> <set-property property="pathnames"
>
> value="/WEB-INF/validator-rules.xml,/WEB-INF/validation.xml" />
> </plug-in>
>
> Anja
>
>
>
>
> -----Ursprüngliche Nachricht-----
> Von: Jorge Martín Cuervo [mailto:jorge.martin@defactops.com]
> Gesendet: Freitag, 6. Juli 2007 11:02
> An: Struts Users Mailing List
> Betreff: Re: struts validation
>
>
> i've in my struts-config.xml:
>
> <plug-in className="org.apache.struts.validator.ValidatorPlugIn">
> <set-property
> property="pathnames"
> value="/WEB-INF/validator-rules.xml,/WEB-INF/validation.xml"/>
> </plug-in>
>
>
> can you send us the struts-config.xml related portion?
>
> El vie, 06-07-2007 a las 10:31 +0200, Anja Fischer, IBE escribió:
> > Hi all,
> >
> > I use the struts validation plugin. Now tomcat runs into a
> > javax.servlet.UnavailableException: Cannot load a validator resource
> > from '/WEB-INF/validator-rules.xml, /WEB-INF/validation.xml'
> >
> > Like it is described in the struts user guide I replaced the dtd in
> > validation.xml and validator-rules.xml with
> >
> > <!DOCTYPE form-validation PUBLIC "-//Apache Software Foundation//DTD
> > Commons Validator Rules Configuration 1.0//EN"
> > "http://jakarta.apache.org/commons/dtds/validator_1_0.dtd">
> >
> >
> > I don't have an idea what is still going wrong and there is nothing
> > more to find in the internet. Please send me your help.
> >
> > Many regards,
> > Anja
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> > For additional commands, e-mail: user-help@struts.apache.org
> >
--
____________________________________
Jorge Martin Cuervo
Analista Programador
Outsourcing Emarketplace
deFacto Powered by Standards
email <jo...@defactops.com>
voz +34 985 129 820
voz +34 660 026 384
____________________________________
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
AW: struts validation
Posted by "Anja Fischer, IBE" <an...@ibe.med.uni-muenchen.de>.
Hi,
that's the same I have in my struts-config.xml. For checking I paste it
here:
<plug-in className="org.apache.struts.validator.ValidatorPlugIn">
<set-property property="pathnames"
value="/WEB-INF/validator-rules.xml,/WEB-INF/validation.xml" />
</plug-in>
Anja
-----Ursprüngliche Nachricht-----
Von: Jorge Martín Cuervo [mailto:jorge.martin@defactops.com]
Gesendet: Freitag, 6. Juli 2007 11:02
An: Struts Users Mailing List
Betreff: Re: struts validation
i've in my struts-config.xml:
<plug-in className="org.apache.struts.validator.ValidatorPlugIn">
<set-property
property="pathnames"
value="/WEB-INF/validator-rules.xml,/WEB-INF/validation.xml"/>
</plug-in>
can you send us the struts-config.xml related portion?
El vie, 06-07-2007 a las 10:31 +0200, Anja Fischer, IBE escribió:
> Hi all,
>
> I use the struts validation plugin. Now tomcat runs into a
> javax.servlet.UnavailableException: Cannot load a validator resource
> from '/WEB-INF/validator-rules.xml, /WEB-INF/validation.xml'
>
> Like it is described in the struts user guide I replaced the dtd in
> validation.xml and validator-rules.xml with
>
> <!DOCTYPE form-validation PUBLIC "-//Apache Software Foundation//DTD
> Commons Validator Rules Configuration 1.0//EN"
> "http://jakarta.apache.org/commons/dtds/validator_1_0.dtd">
>
>
> I don't have an idea what is still going wrong and there is nothing
> more to find in the internet. Please send me your help.
>
> Many regards,
> Anja
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
--
____________________________________
Jorge Martin Cuervo
Analista Programador
Outsourcing Emarketplace
deFacto Powered by Standards
email <jo...@defactops.com>
voz +34 985 129 820
voz +34 660 026 384
____________________________________
---------------------------------------------------------------------
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: struts validation
Posted by Jorge Martín Cuervo <jo...@defactops.com>.
i've in my struts-config.xml:
<plug-in className="org.apache.struts.validator.ValidatorPlugIn">
<set-property
property="pathnames"
value="/WEB-INF/validator-rules.xml,/WEB-INF/validation.xml"/>
</plug-in>
can you send us the struts-config.xml related portion?
El vie, 06-07-2007 a las 10:31 +0200, Anja Fischer, IBE escribió:
> Hi all,
>
> I use the struts validation plugin. Now tomcat runs into a
> javax.servlet.UnavailableException: Cannot load a validator resource
> from '/WEB-INF/validator-rules.xml, /WEB-INF/validation.xml'
>
> Like it is described in the struts user guide I replaced the dtd in
> validation.xml and validator-rules.xml with
>
> <!DOCTYPE form-validation PUBLIC "-//Apache Software Foundation//DTD
> Commons Validator Rules Configuration 1.0//EN"
> "http://jakarta.apache.org/commons/dtds/validator_1_0.dtd">
>
>
> I don't have an idea what is still going wrong and there is nothing more
> to find in the internet. Please send me your help.
>
> Many regards,
> Anja
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
--
____________________________________
Jorge Martin Cuervo
Analista Programador
Outsourcing Emarketplace
deFacto Powered by Standards
email <jo...@defactops.com>
voz +34 985 129 820
voz +34 660 026 384
____________________________________
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org