[ 
https://issues.apache.org/jira/browse/WW-4604?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15130014#comment-15130014
 ] 

Greg Huber commented on WW-4604:
--------------------------------

I have this:

<!DOCTYPE tiles-definitions PUBLIC
                "-//Apache Software Foundation//DTD Tiles Configuration 3.0//EN"
                "http://tiles.apache.org/dtds/tiles-config_3_0.dtd";>

We are not always connected to the internet, my dev laptop for example.  If I 
leave out the dtd, then struts starts ok, so it is not really needed, it should 
not throw a fatal exception, maybe a warning.  

Think is really a tiles issue as there is not much you can do in the 
TilesResult to stop it.  Maybe I will check if it can be added to the plugin 
jar.


> Missing tiles-config_3_0.dtd
> ----------------------------
>
>                 Key: WW-4604
>                 URL: https://issues.apache.org/jira/browse/WW-4604
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Plugin - Tiles
>    Affects Versions: 2.5
>         Environment: Linux/Tomcat 8
>            Reporter: Greg Huber
>            Priority: Minor
>         Attachments: tiles_error.txt
>
>
> If there is no internet connection when struts starts and there is a dtd 
> definition in the tiles.xml, tiles throws and exception :
> org.apache.tiles.definition.DefinitionsFactoryException: I/O Error reading 
> definitions.
> There seems to be no tiles-config_3_0.dtd in the tiles jars. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to