You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by ni...@apache.org on 2004/09/07 04:50:06 UTC

cvs commit: jakarta-struts/web/examples/WEB-INF/validator struts-config.xml

niallp      2004/09/06 19:50:06

  Modified:    web/examples/WEB-INF struts-config.xml web.xml
               web/examples/WEB-INF/exercise struts-config.xml
               web/examples/WEB-INF/upload struts-config.xml
               web/examples/WEB-INF/validator struts-config.xml
  Log:
  Fix struts-examples problem when running locally without connection - raised by Robert Longson
  
  Revision  Changes    Path
  1.9       +4 -2      jakarta-struts/web/examples/WEB-INF/struts-config.xml
  
  Index: struts-config.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-struts/web/examples/WEB-INF/struts-config.xml,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- struts-config.xml	2 Sep 2004 03:43:15 -0000	1.8
  +++ struts-config.xml	7 Sep 2004 02:50:06 -0000	1.9
  @@ -1,5 +1,7 @@
   <?xml version="1.0" encoding="iso-8859-1"?>
  -<!DOCTYPE struts-config SYSTEM "http://struts.apache.org/dtds/struts-config_1_2.dtd">
  +<!DOCTYPE struts-config PUBLIC
  +          "-//Apache Software Foundation//DTD Struts Configuration 1.2//EN"
  +          "http://struts.apache.org/dtds/struts-config_1_2.dtd">
   <!--
     Default configuration file for examples application.
     Each module also has its own struts-config under: /WEB-INF/$MODULE/
  
  
  
  1.2       +3 -1      jakarta-struts/web/examples/WEB-INF/web.xml
  
  Index: web.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-struts/web/examples/WEB-INF/web.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- web.xml	8 Jan 2004 16:22:11 -0000	1.1
  +++ web.xml	7 Sep 2004 02:50:06 -0000	1.2
  @@ -1,5 +1,7 @@
   <?xml version="1.0" encoding="iso-8859-1"?>
  -<!DOCTYPE web-app SYSTEM "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd">
  +<!DOCTYPE web-app
  +  PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN"
  +  "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd">
   <web-app>
     <display-name>Struts Examples Application</display-name>
     <!-- Standard Action Servlet Configuration (with debugging) -->
  
  
  
  1.11      +3 -1      jakarta-struts/web/examples/WEB-INF/exercise/struts-config.xml
  
  Index: struts-config.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-struts/web/examples/WEB-INF/exercise/struts-config.xml,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- struts-config.xml	2 Sep 2004 03:43:16 -0000	1.10
  +++ struts-config.xml	7 Sep 2004 02:50:06 -0000	1.11
  @@ -1,5 +1,7 @@
   <?xml version="1.0" encoding="iso-8859-1"?>
  -<!DOCTYPE struts-config SYSTEM "http://struts.apache.org/dtds/struts-config_1_2.dtd">
  +<!DOCTYPE struts-config PUBLIC
  +          "-//Apache Software Foundation//DTD Struts Configuration 1.2//EN"
  +          "http://struts.apache.org/dtds/struts-config_1_2.dtd">
   <struts-config>
     <form-beans>
       <form-bean name="testbean" type="org.apache.struts.webapp.exercise.TestBean" />
  
  
  
  1.4       +3 -1      jakarta-struts/web/examples/WEB-INF/upload/struts-config.xml
  
  Index: struts-config.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-struts/web/examples/WEB-INF/upload/struts-config.xml,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- struts-config.xml	2 Sep 2004 03:43:16 -0000	1.3
  +++ struts-config.xml	7 Sep 2004 02:50:06 -0000	1.4
  @@ -1,5 +1,7 @@
   <?xml version="1.0" encoding="iso-8859-1"?>
  -<!DOCTYPE struts-config SYSTEM "http://struts.apache.org/dtds/struts-config_1_2.dtd">
  +<!DOCTYPE struts-config PUBLIC
  +          "-//Apache Software Foundation//DTD Struts Configuration 1.2//EN"
  +          "http://struts.apache.org/dtds/struts-config_1_2.dtd">
   <struts-config>
     <form-beans>
       <form-bean name="uploadForm" type="org.apache.struts.webapp.upload.UploadForm" />
  
  
  
  1.4       +3 -1      jakarta-struts/web/examples/WEB-INF/validator/struts-config.xml
  
  Index: struts-config.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-struts/web/examples/WEB-INF/validator/struts-config.xml,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- struts-config.xml	2 Sep 2004 03:43:16 -0000	1.3
  +++ struts-config.xml	7 Sep 2004 02:50:06 -0000	1.4
  @@ -1,5 +1,7 @@
   <?xml version="1.0" encoding="iso-8859-1"?>
  -<!DOCTYPE struts-config SYSTEM "http://struts.apache.org/dtds/struts-config_1_2.dtd">
  +<!DOCTYPE struts-config PUBLIC
  +          "-//Apache Software Foundation//DTD Struts Configuration 1.2//EN"
  +          "http://struts.apache.org/dtds/struts-config_1_2.dtd">
   <struts-config>
     <!--============================================== Form Bean Definitions  -->
     <form-beans>
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org