struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lance Semmens <lance.semm...@marketpipe.com>
Subject Re: Validator rules not loaded
Date Tue, 02 May 2006 15:33:18 GMT
Thanks, I had thought of this workaround too. I just wanted to highlight 
the potential security issue when the validator rules fail to load.

Vinit Sharma wrote:
> 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
>


-- 
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 



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message