I changed this, but am still getting the same behavior.

It looks as if the digester has validation set to false, but thanks anyways.

-Ben

-----Original Message-----
From: Niall Pemberton [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 20, 2005 3:17 PM
To: Struts Users Mailing List
Subject: Re: Struts Validator Illegal Argument Exception - Digester
problem?


Looks like you have a mistakes in your DTD declaration in the
struts-config.xml. Should be....

<!DOCTYPE struts-config PUBLIC
       "-//Apache Software Foundation//DTD Struts Configuration 1.2//EN"
       "http://struts.apache.org/dtds/struts-config_1_2.dtd";>

Niall

----- Original Message ----- 
From: "Liu, Benson" <[EMAIL PROTECTED]>
Sent: Wednesday, April 20, 2005 11:03 PM


I'm working on a Struts/Tiles web app with Websphere 5.1.2 and Struts 1.2.4

I'm getting exceptions when trying to use the Validator framework.

After debugging, it almost seems as if the strut-config.xml is not being
properly digested.

The property maps of the Plug-Ins are always null.

Thus, the ValidatorPlugIn does not know that I've specified a "pathnames"
property.

Here's my struts-config.xml:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE struts-config PUBLIC "-//Apache Software Foundation//DTD Struts
Configuration 1.1//EN"

"http://jakarta.apache.org/struts/dtds/struts-config_1_2.dtd";>




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to