Short of taking the nightly build, I just extracted the required DTDs out of
the struts.jar file and put them beneath WEB-INF/classes (I'm using resin).
That seemed to work fine, but, of course, it would be nice if the software
could find them in struts.jar.  ;-)

Scott 

> -----Original Message-----
> From: Rob Leland [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, April 11, 2001 4:13 PM
> To: [EMAIL PROTECTED]
> Subject: Re: Finding DTD when disconnected from Internet
> 
> 
> Update to the latest nightly build, this problem was fixed about
> 5 weeks ago.
> 
> -Rob
> 
> "Assenza, Chris" wrote:
> > 
> > Well, here I am again - new problem. :| (BTW, thanks to all 
> for helping,
> > this is by far one of the best list I've been on).
> > 
> > Problem:
> > 
> > Okay, I've been working with WebSphere and JBoss to get a Struts app
> > working. So far my efforts have been very successful. 
> However, today I hit a
> > new bug. Assume your PC is not connected to the Internet -- 
> ie. its just a
> > local app.  In WebSphere in particular, but also in JBoss, 
> Struts will fail
> > because it goes out to find the DTD for web_app_2_2 from Sun and
> > struts-config from the Jakarta site.
> > 
> > After countless efforts to make Digester search for the DTD 
> locally, I have
> > had no success.  I am required to use the SYSTEM identifier 
> and not PUBLIC.
> > The only thing I've had success with is making the two xml 
> files standalone
> > (ie. standalone="yes"). SAX returns beaucoup errors, but the app
> > "half-works" -- pages will at least come up.
> > 
> > Does anyone know how to fix this easily...without 
> connecting the machine to
> > the Net (it's an Intranet app). My knowledge of XML is 
> okay, DTD's fairly
> > week (incl. !DOCTYPE).
> > 
> > Thanks,
> > 
> > Chris Assenza
> 

Reply via email to