You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Wendy Smoak <ja...@wendysmoak.com> on 2005/07/01 22:33:10 UTC

Re: tiles-definitions deploy failed on tomcat 5.5.9

From: "bear" <sk...@yahoo.com>
> My tiles-defs.xml has the following line,
> ------------------------------------------------------
> <?xml version="1.0"?>
> <!DOCTYPE struts-config PUBLIC
>   "-//Apache Software Foundation//DTD Tiles Configuration 1.1//EN"
>   "http://jakarta.apache.org/struts/dtds/tiles-config_1_1.dtd">

Fix your doctype declaration...

<!DOCTYPE tiles-definitions PUBLIC
       "-//Apache Software Foundation//DTD Tiles Configuration 1.1//EN"
       "http://struts.apache.org/dtds/tiles-config_1_1.dtd">

See how yours says struts-config before PUBLIC?  That's wrong, it should say
tiles-definitions.

Here's a good reference on what all the different pieces of a doctype
declaration mean:
http://www.blooberry.com/indexdot/html/tagpages/d/doctype.htm

-- 
Wendy Smoak


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


Re: tiles-definitions deploy failed on tomcat 5.5.9

Posted by bear <sk...@yahoo.com>.
Thanks for your help. It does work and now I will have to fix my other
issues.
I will check the link you sent. I really appreciate your help.

best,
Chungwei

--- Wendy Smoak <ja...@wendysmoak.com> wrote:

> From: "bear" <sk...@yahoo.com>
> > My tiles-defs.xml has the following line,
> > ------------------------------------------------------
> > <?xml version="1.0"?>
> > <!DOCTYPE struts-config PUBLIC
> >   "-//Apache Software Foundation//DTD Tiles Configuration 1.1//EN"
> >   "http://jakarta.apache.org/struts/dtds/tiles-config_1_1.dtd">
> 
> Fix your doctype declaration...
> 
> <!DOCTYPE tiles-definitions PUBLIC
>        "-//Apache Software Foundation//DTD Tiles Configuration
> 1.1//EN"
>        "http://struts.apache.org/dtds/tiles-config_1_1.dtd">
> 
> See how yours says struts-config before PUBLIC?  That's wrong, it
> should say
> tiles-definitions.
> 
> Here's a good reference on what all the different pieces of a doctype
> declaration mean:
> http://www.blooberry.com/indexdot/html/tagpages/d/doctype.htm
> 
> -- 
> Wendy Smoak
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
> 
> 


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