You shouldn't have to change the XML. There are local copies of the DTD in
struts.jar, and should be registered and loaded when you start Tomcat up.
Which build are you using (source vs binary, and release vs beta)? This
should be working just fine in the later builds.
--
Dan Miser
http://www.distribucon.com

----- Original Message -----
From: "Liang Li" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, June 22, 2001 10:02 AM
Subject: RE: Running Tomcat+Struts w/o internet connection


> Open the struts-config.xml, change the head
>
> <!DOCTYPE struts-config PUBLIC
>           "-//Apache Software Foundation//DTD Struts Configuration
1.0//EN"
>           "http://jakarta.apache.org/struts/dtds/struts-config_1_0.dtd";>
>
> To:
>
> <!DOCTYPE struts-config PUBLIC
>           "-//Apache Software Foundation//DTD Struts Configuration
1.0//EN"
>           "file://c:/{where_your_DTD_is}/struts-config_1_0.dtd">
>
> I think that will work.
>
> -----Original Message-----
> From: James Howe [mailto:[EMAIL PROTECTED]]
> Sent: Friday, June 22, 2001 10:30 AM
> To: [EMAIL PROTECTED]
> Subject: Running Tomcat+Struts w/o internet connection
>
>
> We are trying to run Tomcat + Struts to run our web application without an
> external internet connection.  We are running into a problem because our
> struts-config.xml has an external reference to the struts-config DTD.
What
> is the proper way to modify struts-config.xml to reference a locally
> defined DTD and where would that file normally reside in a standard Tomcat
> installation?
>
> Thanks.

Reply via email to