You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Micael <ca...@harbornet.com> on 2003/04/23 03:42:01 UTC

RE: Resolving DTDs Locally: TILES: external entity not found -- L ocal Definitions

Thanks, Wendy,

Do you know why, then, the error gets tossed out?  That seems strange.

Micael

At 03:39 PM 4/22/03 -0700, you wrote:
>Micael wrote:
> > I frequently get the following error when starting up with struts:
> > javax.servlet.ServletException: Error while parsing file
> > '/WEB-INF/conf/tiles-defs.xml'. External entity not found:
> > "http://jakarta.apache.org/struts/dtds/tiles-config.dtd".
>
>I have this at the top of tiles-defs.xml:
>  <!DOCTYPE tiles-definitions PUBLIC
>        "-//Apache Software Foundation//DTD Tiles Configuration 1.1//EN"
>        "http://jakarta.apache.org/struts/dtds/tiles-config_1_1.dtd">
>
>I'm reliably informed by Craig that although this looks like a URL, it's
>really just a unique URI, and the dtd will be found locally within the
>struts.jar file.
>
>So (assuming Servlet 2.3) you do not need to list dtd's in your web.xml file
>or put them "loose" underneath WEB-INF.  One less thing to keep track of!
>
>--
>Wendy Smoak
>Applications Systems Analyst, Sr.
>Arizona State University PA Information Resources Management



LEGAL NOTICE

This electronic mail  transmission and any accompanying documents contain 
information belonging to the sender which may be confidential and legally 
privileged.  This information is intended only for the use of the 
individual or entity to whom this electronic mail transmission was sent as 
indicated above. If you are not the intended recipient, any disclosure, 
copying, distribution, or action taken in reliance on the contents of the 
information contained in this transmission is strictly prohibited.  If you 
have received this transmission in error, please delete the message.  Thank 
you  



---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org