Digester is loading local dtds ( part of struts.jar) first. It might be a
bug in your container.

Mark.

-----Original Message-----
From: Hai-Bang Pham [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 02, 2002 2:55 PM
To: [EMAIL PROTECTED]
Subject: Struts DTD/Web App DTD



Recently we've had problems re-starting our app servers due to the fact that
either

http://jakarta.apache.org/struts/dtds or http://java.sun.com/j2ee/dtds was
down.

I there a way we can specify struts load the dtd files locally?

I've been looking the ActionServlet.initDigester() method and it does seem
to do this:

// Register our local copy of the DTDs that we can find
  for (int i = 0; i < registrations.length; i += 2) {
   URL url = this.getClass().getResource(registrations[i+1]);
   if (url != null)
    digester.register(registrations[i], url.toString());
  }

So why are we still getting the error?

-Hai



---------------------------------
Do You Yahoo!?
Send your FREE holiday greetings online at Yahoo! Greetings.


------------------------------------------------------------------------------
This message is intended only for the personal and confidential use of the designated 
recipient(s) named above.  If you are not the intended recipient of this message you 
are hereby notified that any review, dissemination, distribution or copying of this 
message is strictly prohibited.  This communication is for information purposes only 
and should not be regarded as an offer to sell or as a solicitation of an offer to buy 
any financial product, an official confirmation of any transaction, or as an official 
statement of Lehman Brothers.  Email transmission cannot be guaranteed to be secure or 
error-free.  Therefore, we do not represent that this information is complete or 
accurate and it should not be relied upon as such.  All information is subject to 
change without notice.



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to