Craig,
    You say that "you should be able to run with no problems, without 
trying to access the network."  But it seems to me that the internal 
DTDs are used only after an attempt to access them via the network times 
out.  Am I mistaken on this?  It seems that when I start my server 
(either orion or resin) without internet access, it stalls for a pretty 
good amount of time.

    While this timeout may be fine when you are demoing some apps on 
your laptop, it can be a real pain in the a$$ while developing.  Is 
there anyway to configure struts to use the internal DTDs without trying 
to find them on the network first?  Or anyway to change the timeout?

Bill


    It seems that the internal copies of the DTDs are only accessed after

Craig R. McClanahan wrote:

> 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.
>> 
>> 

Reply via email to