struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Pratt <thechrispr...@gmail.com>
Subject Re: [struts 2] java.io.FileNotFoundException: http://www.opensymphony.com/xwork/xwork-validator-1.0.2.dtd
Date Wed, 07 Aug 2013 17:41:47 GMT
I don't know if it's the latest, but
http://struts.apache.org/dtds/xwork-validator-1.0.3.dtd appears to work.
  (*Chris*)


On Wed, Aug 7, 2013 at 10:36 AM, John Boyer <john@rodaxsoft.com> wrote:

> Hi Martin:
>
> Okay, but my validation XML is pointing to
> http://www.opensymphony.com/xwork/xwork-validator-1.0.2.dtd, which is no
> longer available. What should it point to now?
>
> Thanks, John
>
> -----------------------
> <?xml version="1.0" encoding="UTF-8"?>
> <!DOCTYPE validators PUBLIC "-//OpenSymphony Group//XWork Validator
> 1.0.2//EN"
>        "http://www.opensymphony.com/xwork/xwork-validator-1.0.2.dtd">
> <validators>
>
>         <field name="user.password">
>                 <field-validator type="requiredstring">
>                         <message>Password is required</message>
>                 </field-validator>
>         </field>
>
>         <field name="user.password">
>                 <field-validator type="stringlength">
>                 <param name="minLength">8</param>
>                         <message>Password must be eight characters or
> more.</message>
>                 </field-validator>
>         </field>
>
>                 <field name="confirmedPassword">
>                 <field-validator type="requiredstring">
>                         <message>Password is required</message>
>                 </field-validator>
>         </field>
>
>                 <field name="confirmedPassword">
>                 <field-validator type="stringlength">
>                 <param name="minLength">8</param>
>                         <message>Password must be eight characters or
> more.</message>
>                 </field-validator>
>         </field>
>
> </validators>
>
> On Aug 7, 2013, at 10:30 AM, Martin Gainty <mgainty@hotmail.com> wrote:
>
> > Hi John
> >
> > xwork-validator-1.0.2.dtd *should* be in xwork-core-<version>.jar
> >
> > jar -tvf xwork-<version>.jar | grep xwork-validator
> >
> > ?
> > Martin Gainty
> > ______________________________________________
> > Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité
> >
> > Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene
> Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte
> Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht
> dient lediglich dem Austausch von Informationen und entfaltet keine
> rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von
> E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen.
> >
> > Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas
> le destinataire prévu, nous te demandons avec bonté que pour satisfaire
> informez l'expéditeur. N'importe quelle diffusion non autorisée ou la copie
> de ceci est interdite. Ce message sert à l'information seulement et n'aura
> pas n'importe quel effet légalement obligatoire. Étant donné que les email
> peuvent facilement être sujets à la manipulation, nous ne pouvons accepter
> aucune responsabilité pour le contenu fourni.
> >
> >
> >> From: john@rodaxsoft.com
> >> Subject: [struts 2] java.io.FileNotFoundException:
> http://www.opensymphony.com/xwork/xwork-validator-1.0.2.dtd
> >> Date: Wed, 7 Aug 2013 10:14:21 -0700
> >> To: user@struts.apache.org
> >>
> >> Hi:
> >>
> >> Suddenly, in-production, we're getting file-not-found errors for the
> xwork-validator-1.0.2.dtd at  http://www.opensymphony.com/xwork.
> >>
> >> How can resolve this problem? We're running Struts 2 v2.3.4.1
> >>
> >> Thanks, John
> >>
> >> ---------------------------------------------
> >>
> >> 10:01:18 ERROR http-8443-1
> com.opensymphony.xwork2.validator.AnnotationActionValidatorManager - Caught
> exception while loading file XXX-validation.xml
> >> http://www.opensymphony.com/xwork/xwork-validator-1.0.2.dtd - Class:
> sun.net.www.protocol.http.HttpURLConnection
> >> File: HttpURLConnection.java
> >> Method: getInputStream
> >> Line: 1311 - sun/net/www/protocol/http/HttpURLConnection.java:1311:-1
> >> ceptor.intercept(I18nInterceptor.java:176)
> >>      ...
> >>
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
> >>      at
> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
> >>      at java.lang.Thread.run(Thread.java:619)
> >> Caused by: java.io.FileNotFoundException:
> http://www.opensymphony.com/xwork/xwork-validator-1.0.2.dtd
> >>      ...
> >>
> >>
> >>
> >> ---------------------------------------------------------------------
> >> 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
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message