Sorry you're right. They are also available at 
http://struts.apache.org/dtds/ but after opening that in browser, I 
could download them by right click save as without any issue! maybe it 
starts working.

However, I also could not see struts-2.5.dtd. Something is wrong there 
or we miss something.

On 7/28/2017 12:11 AM, Louis Smith wrote:
> Here is the sample from github:
>
> https://github.com/apache/struts-examples/blob/master/bean-validation/src/main/resources/struts.xml
>
> <?xml version="1.0" encoding="UTF-8"?>
> <!DOCTYPE struts PUBLIC
> "-//Apache Software Foundation//DTD Struts Configuration 2.5//EN"
> "http://struts.apache.org/dtds/struts-2.5.dtd";>
> <struts>
> <constant name="struts.devMode" value="true" />
> <package name="default" extends="struts-bean-validation">
> <!-- If no class attribute is specified the framework will assume success
> and
> render the result index.jsp -->
> <!-- If no name value for the result node is specified the success value is
> the default -->
> <action name="index">
> <result>/index.jsp</result>
> </action>
> <action name="edit" class="org.apache.struts.edit.action.EditAction" method=
> "input">
> <result name="input">/edit.jsp</result>
> </action>
> <action name="save" class="org.apache.struts.edit.action.EditAction" method=
> "execute">
> <result name="input">/edit.jsp</result>
> <result name="success">/thankyou.jsp</result>
> </action>
> </package>
> </struts>
>
> Louis
>
>
> On Thu, Jul 27, 2017 at 3:37 PM, Louis Smith <[email protected]>
> wrote:
>
>> all of our struts.xml files and struts-plugin.xml files have the doctype
>> and until this morning all worked just fine:
>>
>> <!DOCTYPE struts PUBLIC
>>         "-//Apache Software Foundation//DTD Struts Configuration 2.5//EN"
>>         "http://struts.apache.org/dtds/struts-2.5.dtd";>
>>
>>
>>
>>
>> Louis
>>
>>
>> On Thu, Jul 27, 2017 at 2:36 PM, Yasser Zamani <[email protected]>
>> wrote:
>>
>>> No, they was and are not available on struts.apache.org host but they're
>>> inside your local struts2-core-2.X.X.jar.
>>>
>>> On 7/27/2017 9:54 PM, Louis Smith wrote:
>>>> Looks like /dtds/ was refreshed this morning, and the 2.4 and 2.5 dtd
>>> files
>>>> are now missing.
>>>>
>>>>
>>>> [image: [ ]] struts-2.0.dtd
>>>> <http://struts.apache.org/dtds/struts-2.0.dtd> 2017-07-27
>>>> 09:15 3.3K
>>>> [image: [ ]] struts-2.1.7.dtd
>>>> <http://struts.apache.org/dtds/struts-2.1.7.dtd> 2017-07-27 09:15 3.6K
>>>> [image: [ ]] struts-2.1.dtd
>>>> <http://struts.apache.org/dtds/struts-2.1.dtd> 2017-07-27
>>>> 09:15 3.5K
>>>> [image: [ ]] struts-2.3.dtd
>>>> <http://struts.apache.org/dtds/struts-2.3.dtd> 2017-07-27
>>>> 09:15 3.7K
>>>> [image: [ ]] struts-config_1_0.dtd
>>>> <http://struts.apache.org/dtds/struts-config_1_0.dtd> 2017-07-27 09:15
>>> 19K
>>>>
>>>>
>>>> Louis
>>>>
>>>
>>
>>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to