struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Craig McClanahan <craig...@gmail.com>
Subject Re: http://struts.apache.org/dtds/tiles-config.dtd 404 Not Found
Date Tue, 04 Jan 2005 21:57:00 GMT
If you specify a Public ID (the first string after the word PUBLIC)
that is recognized, the System ID (the URL) is never consulted at all.
 Check very carefully that you don't have any typos or extra spaces in
the public id -- it must match exactly.

Craig



On Tue, 04 Jan 2005 22:25:29 +0200, Graham Leggett <minfrin@sharp.fm> wrote:
> Joe Germuska wrote:
> 
> >> With further checking, turns out the DTD was defined like this:
> >>
> >>      <!DOCTYPE struts-config PUBLIC
> >>        "-//Apache Software Foundation//DTD Struts Configuration 1.1//EN"
> >>        "http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd">
> >>
> >> (I assume the jakarta.apache.org URL is a redirect).
> >>
> >> Could this be causing the trip to the internet?
> >
> >
> > Well, the registrations are on a per-digester instance, so the Tiles
> > digester probably doesn't have struts-config registered.  If it did, you
> > probably would have had a validation error, since a tiles config file
> > isn't valid according to the struts-config DTD!
> 
> Oops - cut and pasted the struts-config DTD instead of the tile config DTD.
> 
> The point was that the DTD definitions were defined to point at
> http://jakarta.apache.org/struts instead of http://struts.apache.org.
> 
> Would this have caused a problem?
> 
> Regards,
> Graham
> --
> 
> 
>

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


Mime
View raw message