struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vinit Sharma" <vini...@gmail.com>
Subject Re: Validator rules not loaded
Date Tue, 02 May 2006 14:49:29 GMT
Hi,

You can store the dtd file on you local dir and refer its path from the
rules xml file.

HTH

On 5/2/06, Lance Semmens <lance.semmens@marketpipe.com> wrote:
>
> Struts is not loading validator rules if the validator dtd can not be
> retrieved.
> On app server startup, the following is reported:
>
> 2006-04-29 16:18:23,420 ERROR
> [org.apache.struts.validator.ValidatorPlugIn] jakarta.apache.org
> java.net.UnknownHostException: jakarta.apache.org
>         at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:177)
>         at java.net.Socket.connect(Socket.java:507)
>         at java.net.Socket.connect(Socket.java:457)*
>         :
>         :
>
> *Im assuming that this is exception occurs trying to retrieve
> http://jakarta.apache.org/commons/dtds/validator_1_1.dtd
> After this, my app works fine except there are now no rules being
> applied to my forms which poses a *slight* security issue.
> **
>
> --
> Lance Semmens
> Marketpipe Limited
> a. 7 Soho Square, London W1D 3QB, UK
> t. +44 20 7297 8401
> f. +44 20 7297 8427
> e. lance.semmens@marketpipe.com
> w. www.marketpipe.com
>
>
>


--
Vinit Sharma
IBM

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