This problem occurs when the examples are run locally, without a connection
to the outside world. I agree that the struts-config is an issue, but the
problem you're encountering is before that in the web.xml, which has a
similar DOCTYPE...

<!DOCTYPE web-app SYSTEM "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd";>

Just for information the equivalent of struts-examples.war in Struts 1.1 is
struts-exercise-taglib.war and the equivalent of struts-mailreader.war in
Struts 1.1 is struts-example.war.

Seems that when struts-exercise-taglib.war was refactored to
struts-examples.war then DOCTYPE was changed for the web.xml and
struts-config.xml

Thanks for pointing this out.

Niall


----- Original Message ----- 
From: "Longson, Robert" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, September 06, 2004 9:17 PM
Subject: RE: Struts 1.2.2/1.2.3 struts-examples.war not working


> The problem seems to be that in the various struts-config.xml within the
> struts-examples.war the DOCTYPE is:
>
> <!DOCTYPE struts-config SYSTEM "
> http://jakarta.apache.org/struts/dtds/struts-config_1_2.dtd
> <http://jakarta.apache.org/struts/dtds/struts-config_1_2.dtd> ">
>
> when it should be:
>
> <!DOCTYPE struts-config PUBLIC
>           "-//Apache Software Foundation//DTD Struts Configuration
1.2//EN"
>           "  <http://struts.apache.org/dtds/struts-config_1_2.dtd>
> http://struts.apache.org/dtds/struts-config_1_2.dtd";>
>
> N.B. I tried just changing the URL and leaving the DOCTYPE as SYSTEM and
it
> still didn't work for me.
>
> I wonder whether any of the other war files which come with struts have
the
> same problem?
>
> Best regards
>
> Robert Longson
>
>
> This e-mail and any attachment is for authorised use by the intended
recipient(s) only. It may contain proprietary material, confidential
information and/or be subject to legal privilege. It should not be copied,
disclosed to, retained or used by, any other party. If you are not an
intended recipient then please promptly delete this e-mail and any
attachment and all copies and inform the sender. Thank you.



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to