Hi.  Not sure who posted a message on this earlier (or exact title of it) -
deleted it by mistake before I could reply!  (and mailing-list page seems to be
well behind on messages posted).

I had similar problem, and fixed it by downloading xalan, and using BOTH the
xerces.jar and xalan.jar as follows:

set classpath=%classpath%;d:\xalan-j_1_2_2\xerces.jar
set classpath=%classpath%;d:\xalan-j_1_2_2\xalan.jar
set classpath=%classpath%;d:\tomcat\lib\common\parser.jar

Hope that helps,

Dave






Liang Li <[EMAIL PROTECTED]> on 06/22/2001 11:02:50 AM

Please respond to [EMAIL PROTECTED]

To:   "'[EMAIL PROTECTED]'"
      <[EMAIL PROTECTED]>
cc:    (bcc: David Hay/Lex/Lexmark)
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