Hi,
If your application tries to connect to the web for any reason on
startup, either to jakarta.apache.org or struts.apache.org it is because
the digester is unable to find a local copy of the dtd.
This can happen for a number of reasons:
1) There is a typo in your doctype declaration
2) You are referencing a version that does not exists
One of the best ways to check it to extract the struts jars file to a
temporary folder and see which ones it contains.
Note: The public identifier is an exact string match i.e.
-//Apache Software Foundation//DTD Commons Validator Rules Configuration
1.1.3//EN
is not the same as:
-//Apache Software Foundation/DTD Commons Validator Rules Configuration
1.1.3//EN
(/ instead of //)
Gareth
M Hollyer wrote:
<!DOCTYPE form-validation PUBLIC
"-//Apache Software Foundation//DTD Commons Validator Rules
Configuration 1.1.3//EN"
"http://jakarta.apache.org/commons/dtds/validator_1_1_3.dtd">
I am experiencing the same issue when my network connection is off. The
validator cannot reference
the "http://jakarta.apache.org/commons/dtds/validator_1_1_3.dtd" when there is
no network connection.
This is bad because validator rules won't work when this is the case.
I believe the solution is to either change
the "http://jakarta.apache.org/commons/dtds/validator_1_1_3.dtd" to a local
server reference to the validator_1_1_3.dtd or placing placing
the "validator_1_1_3.dtd" in a location such as WEB-INF.
So far I do not yet have a solution.
---------------------------------------------------------------------
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]