struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Pratt" <>
Subject Re: [S2] attempts to access on Struts startup???
Date Mon, 23 Jun 2008 05:16:58 GMT
If you look at the <!DOCTYPE of the struts.xml file it explicitly
states that the location of the DTD is  Since there is no way
to put something like this on the CLASSPATH, the only way I know of to
stop the XML libraries from loading this DTD remotely during
validation is to turn validation off.  But, of course, I could be

On Sun, Jun 22, 2008 at 9:10 PM, Pierre Thibaudeau
<> wrote:
> As a matter of fact, the DTD for struts.xml that corresponds to "
>" is found inside
> struts2-core-2.1.2.jar which IS on the classpath.
> 2008/6/22 Pierre Thibaudeau <>:
>> As far as I know, the DTDs definitely are on the classpath.  At least,
>> Eclipse considers they are.  (It's easy to check:  if I modify the header of
>> the DTD by (say) changing the DTD's version number, Eclipse gives a warning
>> that it cannot anymore find the corresponding "mock" DTD on the classpath.)
>> 2008/6/22 Wendy Smoak <>:
>>> If it needs them, it should load them from the classpath using the
>>> URI.  Aren't they in one of the Struts 2 jars?
>>> (I'm not sure how it works with schemas, but DTDs definitely don't
>>> need to be loaded from a remote url.)

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message