I am developing an application which will be stored offline.

In tiles.xml, what header should I use so that tiles doesn't try to search
the tiles-config_2_0.dtd file online?

After putting a copy of the file in my WEB-INF/ folder, I have tried:

 <!DOCTYPE tiles-definitions PUBLIC  
     "-//Apache Software Foundation//DTD Tiles Configuration 1.1//EN"    
 "tiles-config_2_0.dtd"> 

(and SYSTEM  "tiles-config_2_0.dtd">  ) 

but none of them works.

The only thing that seems to work is completely deleting the !DOCTYPE
header, which I don't think is advisable.

The issue started when I had:
<!DOCTYPE tiles-definitions PUBLIC "-//Apache Software Foundation//DTDTiles
Configuration 2.0//EN"
 "http://tiles.apache.org/dtds/tiles-config_2_0.dtd";> 

and the address tiles.apache.org was offline.

So, what header should be used if the application will be stored on an
offline server?
-- 
View this message in context: 
http://www.nabble.com/How-to-use-a-local-tiles-config_2_0.dtd-file-tp18514466p18514466.html
Sent from the tiles users mailing list archive at Nabble.com.

Reply via email to