Thanks Paul,

It does look like dtd named in the struts.xml is inconsistent with the
dtd's that are actually in the jar file.

I appreciate the help


On Tue, Feb 12, 2013 at 4:39 PM, Paul Benedict <pbened...@apache.org> wrote:

> 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 <ericr...@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,
> >
>

Reply via email to