You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by Louis Smith <dr...@gmail.com> on 2017/07/27 17:24:42 UTC

FILES MISSING - 404 ERRORS

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

Re: FILES MISSING - 404 ERRORS

Posted by Lukasz Lenart <lu...@apache.org>.
Sorry for that :(

We have been switching to a new git based site publishing mechanism
and those DTDs were missing in the source (sic!). Anyway, this
shouldn't be a problem as those DTDa are included in JARs so parser
can use them ... there were such problems with Struts 1, but as far I
know it never happened with Struts 2 ...

2017-07-27 19:24 GMT+02:00 Louis Smith <dr...@gmail.com>:
> 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: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org


Re: FILES MISSING - 404 ERRORS

Posted by Louis Smith <dr...@gmail.com>.
It looks like there was a failure and someone did a restore this morning as
all the files that are there have the same date/timestamp.  So - a restore
was done from a really old backup.

Louis


On Thu, Jul 27, 2017 at 6:47 PM, Yasser Zamani <ya...@live.com>
wrote:

> 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 <dr...@gmail.com>
> > 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 <ya...@live.com>
> >> 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: dev-unsubscribe@struts.apache.org
> For additional commands, e-mail: dev-help@struts.apache.org
>
>

Re: FILES MISSING - 404 ERRORS

Posted by Yasser Zamani <ya...@live.com>.
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 <dr...@gmail.com>
> 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 <ya...@live.com>
>> 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: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org


Re: FILES MISSING - 404 ERRORS

Posted by Louis Smith <dr...@gmail.com>.
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 <dr...@gmail.com>
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 <ya...@live.com>
> 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
>> >
>>
>
>

Re: FILES MISSING - 404 ERRORS

Posted by Louis Smith <dr...@gmail.com>.
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 <ya...@live.com>
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
> >
>

Re: FILES MISSING - 404 ERRORS

Posted by Yasser Zamani <ya...@live.com>.
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
>