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