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