You probably have some kind of typo in your DTD specification in validation.xml or validator-rules.xml, as most modern appservers will pull DTDs out of jars. Ensure that commons-validator.jar is included in your war/ear file.
Also, if validator rules are so critical to security, you should probably throw an exception at app startup (in an app context listsener) so the app won't even be out there if the validation rules are not loaded. -ed On 5/2/06, Lance Semmens <[EMAIL PROTECTED]> 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. [EMAIL PROTECTED] w. www.marketpipe.com
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]