Struts maintains internal copies of the DTDs it uses (for
struts-config.xml and web.xml). As long as you use the correct public
identifier on your configuration files (and your XML parser is correctly
implemented) you should be able to run with no problems, without trying to
access the network fr the DTDs. In fact, I run Struts-based apps all the
time on a completely disconnected laptop (with Tomcat and JAXP/1.1) with
no problems.
Craig
On Mon, 16 Jul 2001, Grant Davies wrote:
> Hi,
>
> I'm trying to test our first struts app with weblogic and our web.xml file
> goes out to sun for the DTD to validate the web.xml file
>
> We are behind a firewall that uses a proxy on port 8080 for http requests,
> but our proxy requires us to login every time a new HTTP session is invoked.
>
> Is there anyone who can help me configure our stuts for this? I know this
> may be more of a JAVA question that stuts, but I've been lucky enough
> to use relaxed firewalls in the past.
>
> Is it simpler just to remove the DTD url from the web.xml so it does not get
> validated?
>
> Thanks
> Grant Davies
> Insolutions Inc.
>
>