Tiles digester uses the public id specified in tiles-def.xml
"-//Apache Software Foundation//DTD Tiles Configuration//EN"
to link the dtd that should be used for validation. The
dtd is retrieved from the jar.

Using digester, you can register a DTD URL for the specified
public id, so you can pass a URL that point to the dtd in the jar.

Fernando

----- Original Message ----- 
From: "c tang" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Friday, March 01, 2002 11:12 AM
Subject: Re: tiles-config.dtd - 403 Forbidden Error


> In tile-def.xml, there is no SYSTEM resource
> specified.  What is the machanism used to located
> tiles-config.dtd?
> 
> Thanks!
> 
> --- Cedric Dumoulin <[EMAIL PROTECTED]> wrote:
> > 
> >   The dtd is not available at this address, but this
> > doesn't affect Tiles
> > validation process. When Tiles digester want to
> > validate an xml file, it uses a
> > version of the dtd located in tiles.jar (this dtd is
> > linked to the specified
> > URL). There is no need to connect to the specified
> > URL. The same process apply to
> > Struts's dtds.
> > 
> >      Cedric
> > 
> > "Struts Newsgroup (@Basebeans.com)" wrote:
> > 
> > > Subject: tiles-config.dtd - 403 Forbidden Error
> > > From: "Don Miller" <[EMAIL PROTECTED]>
> > >  ===
> > > I'm getting a 403 Forbidden error when accessing
> > the tiles-config.dtd in the
> > > following location for validation:
> > >
> > >
> >
> http://jakarta.apache.org/struts/dtds/tiles-config.dtd
> > >
> > > Is there another location to which I can refer in
> > my doctype?
> > >
> > > Thanks,
> > > Don


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

Reply via email to