As you'll note in my original post I am still using Struts 1.0.2 and appropriate Tiles 
jar.  Everything works fine as is (with <component-definitions> and all), the problem 
is with the editors.

Sri

-----Original Message-----
From: David Graham [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, December 11, 2002 3:10 PM
To: [EMAIL PROTECTED]
Subject: Re: [Tiles]Wrong root element?


You need to use tiles-definitions as the root element.  
component-definitions is deprecated.

David






>From: "Sri Sankaran" <[EMAIL PROTECTED]>
>Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
>To: "Struts-User" <[EMAIL PROTECTED]>
>Subject: [Tiles]Wrong root element?
>Date: Wed, 11 Dec 2002 14:23:48 -0500
>
>Using:
>   Struts 1.0.2
>   Tiles version compatible with Struts 1.0.2
>
>Realizing that my tile-definitions.xml file did not have a Doctype
>statement, I proceeded to "do the right thing" and added it.  However now 
>my IDE warns me that I have the "wrong root element".  Following is a 
>snippet of my tile-definitions file:
>
><?xml version="1.0" encoding="ISO-8859-1"?>
><!DOCTYPE tiles-definitions PUBLIC
>        "-//Apache Software Foundation//DTD Tiles Configuration//EN"
>        "http://jakarta.apache.org/struts/dtds/tiles-config.dtd";>
>
><component-definitions>
>
>   <!-- all my tile definitions -->
>
></component-definitions>
>
>What am I doing wrong?  I am unable to use the Struts Console either.  
>If I
>try to open the tile-definitions.xml file with it I get an error dialog 
>that reads
>
>Error on line 4: External entity not found:
>"http://jakarta.apache.org/struts/dtds/tiles-config.dtd".: Connection 
>refused: connect
>
>Any ideas?
>
>Sri


_________________________________________________________________
Tired of spam? Get advanced junk mail protection with MSN 8. 
http://join.msn.com/?page=features/junkmail


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


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

Reply via email to