Did you even try my suggestion? If you look in the dtd you'll note that you can use either root element. One of your errors seems to indicate Struts Console couldn't reach the internet. The other indicates you should be using the alternative root element.

David






From: "Sri Sankaran" <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Subject: RE: [Tiles]Wrong root element?
Date: Wed, 11 Dec 2002 18:55:46 -0500

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]>

_________________________________________________________________
The new MSN 8: smart spam protection and 2 months FREE* http://join.msn.com/?page=features/junkmail


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

Reply via email to