struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Benedict <pbened...@apache.org>
Subject Re: Legacy struts 1 dtd's gone?
Date Tue, 12 Feb 2013 23:39:37 GMT
If your application server is going out to the Internet to get the DTDs,
that most likely means you have a configuration issue. The DTDs are part of
the library; your application server should be able to load them locally.

Paul

On Tue, Feb 12, 2013 at 5:36 PM, Eric Rank <ericrank@lo-fi.net> wrote:

> Hi list!
>
> I've got an odd problem related to an old Struts 1.2 application my team
> maintains.
>
> The basic problem is that the Struts servlet cannot load because it fails
> with a "File not found" Exception
>
> java.io.FileNotFoundException:
> http://struts.apache.org/dtds/struts-config_1_2.dtd
>
> This problem emerged in multiple environments (windows, linux) where code
> has not changed.
>
> This is what the top of the struts.config looks like
>
> <?xml version="1.0" encoding="ISO-8859-1" ?>
> <!DOCTYPE struts-config PUBLIC
>           "-//Apache Software Foundation//DTD Struts Configuration 1.2//EN"
>           "http://jakarta.apache.org/struts/dtds/struts-config_1_2.dtd">
> <struts-config>...
>
> The "http://jakarta.apache.org/struts/dtds/struts-config_1_2.dtd" from the
> struts.config redirects to the problematic "
> http://struts.apache.org/dtds/struts-config_1_2.dtd" URL when I try
> accessing it through an actual http request.
>
> The only thing that makes sense is that some time today, the struts dtd's
> stopped being hosted.
>
> What should I do?
>
> Thanks,
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message