Hello,

I have a problem with DTDs using in an offline environment in a webapp.
Struts tries to validate several xml configurations (validator or tiles) at startup and fails if the DTDs are not found.


I know I could hard code the absolute path to the DTD, but this is very ugly. Do you have a tip how to reference the DTD relative to its application context?

Example: Struts tries to fetch the following DTD and stops working if it is not found:

<!DOCTYPE form-validation PUBLIC "-//Apache Software Foundation//DTD Commons Validator Rules Configuration 1.2.0//EN" "http://jakarta.apache.org/commons/dtds/validator_1_2_0.dtd";>

Thanks for any help
Thomas


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



Reply via email to