You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by Ralph Schaer <ra...@yahoo.com> on 2002/11/29 14:50:39 UTC

Struts Validation DTD

I found a problem with struts validation. 
I have one struts installation on a pc that does not have an internet connection. This works fine. Struts can read the dtd for the struts-config file from the jar (org\apache\struts\resources\struts-config_1_1.dtd).
Then I added the struts validation configurations file to the application. The ValidatorPlugIn tries to read the dtd from the Internet (http://jakarta.apache.org/commons/dtds/validator_1_0.dtd) and crashes with an Exception (UnknownHostException: jakarta.apache.org). 

Regards
Ralph




--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Struts Validation DTD

Posted by Martin Cooper <ma...@apache.org>.

On Sat, 29 Nov 2002, Ralph Schaer wrote:

> I found a problem with struts validation.
> I have one struts installation on a pc that does not have an internet connection. This works fine. Struts can read the dtd for the struts-config file from the jar (org\apache\struts\resources\struts-config_1_1.dtd).
> Then I added the struts validation configurations file to the application. The ValidatorPlugIn tries to read the dtd from the Internet (http://jakarta.apache.org/commons/dtds/validator_1_0.dtd) and crashes with an Exception (UnknownHostException: jakarta.apache.org).

There was a bug in the Commons Validator which caused it to look for the
local copy of the DTD in the wrong location. If you pick up a recent
nightly build of Validator, you should find that it fixes the problem you
are seeing.

--
Martin Cooper


>
> Regards
> Ralph
>
>
>
>
> --
> To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>
>
>


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>