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