[
https://issues.apache.org/struts/browse/WW-2781?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=44784#action_44784
]
James William Dumay commented on WW-2781:
-----------------------------------------
Hey guys,
Actually this is because the DTD name is incorrect.
The correct name is:
-//Apache Software Foundation//DTD Struts Configuration 2.0//EN
While you (and I) were using:
-//Apache Software Foundation//DTD Struts Configuration//EN
Using the correct name will mean that the DTD will be resolved from the
classpath.
Cheers
James Dumay
> attempts to access http://struts.apache.org/ on Struts startup???
> -----------------------------------------------------------------
>
> Key: WW-2781
> URL: https://issues.apache.org/struts/browse/WW-2781
> Project: Struts 2
> Issue Type: Bug
> Components: XML Configuration
> Affects Versions: 2.1.2
> Reporter: Perry Prust
>
> When starting an s2 application in tomcat, the system is trying to connet to
> http://struts.apache.org/ (probably for validation of the xml DTD's).
> This makes it impossible to use the server in an disconnected environment
> (for development or behind a firewall).
> Is there a way to workaround this problem - e.g. to disable the xml
> validation?
> my configuration:
> - Tomcat 6.0.16 (also tested with jetty 6 via the maven jetty plugin - 6.1.10)
> - struts 2.0.11.2 (also tested with 2.1.2, 2.0.9)
> - spring 2.5.5
> - struts2-spring-plugin 2.0.11.2
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.