[cvs] expresso commit by lhamel: fix network dependence

JCorporate Ltd jcorp at jcorporate.com
Sun Jan 2 18:58:33 UTC 2005


Log Message:
-----------
fix network dependence

Modified Files:
--------------
    expresso/expresso-web/WEB-INF/tiles-definitions:
        expresso-page.xml

Revision Data
-------------
Index: expresso-page.xml
===================================================================
RCS file: /home/javacorp/.cvs/expresso/expresso/expresso-web/WEB-INF/tiles-definitions/expresso-page.xml,v
retrieving revision 1.5
retrieving revision 1.6
diff -Lexpresso-web/WEB-INF/tiles-definitions/expresso-page.xml -Lexpresso-web/WEB-INF/tiles-definitions/expresso-page.xml -u -r1.5 -r1.6
--- expresso-web/WEB-INF/tiles-definitions/expresso-page.xml
+++ expresso-web/WEB-INF/tiles-definitions/expresso-page.xml
@@ -1,13 +1,27 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE tiles-definitions PUBLIC "-//Apache Software Foundation//DTD Tiles Configuration//EN"
-       "http://struts.apache.org/dtds/tiles-config_1_1.dtd ">
+<!--  the following DOCTYPE URL, if uncommented, will cause Expresso to REQUIRE
+a network connection in order to start up properly (in order to fetch
+the DTD from the URL given).
+Therefore, it is
+best to leave this DOCTYPE definition commmented out, which will allow
+expresso to start up even if network is unavailable at startup time.
+
+An alternative is to provide a local file URL like WEB-INF/config/tiles-config_1_1.dtd
+but this also provides a potential for problems because this path depends on where
+the servlet engine establishes the home directory.
+
+LAH 1/05
+ -->
+
+<!--<!DOCTYPE tiles-definitions PUBLIC "-//Apache Software Foundation//DTD Tiles Configuration//EN"-->
+<!--       "http://struts.apache.org/dtds/tiles-config_1_1.dtd">-->
 <tiles-definitions>
-	<!-- html definition Mappings  -->
-	<!-- Definition description  -->
-	<definition name="expressoClassicDefinition" path="/expresso/layout/expresso-layout.jsp">
-		<put name="title" value="Expresso Framework"/>
-		<put name="header" value="/expresso/header.jsp"/>
-		<put name="menu" value="/expresso/toc.jsp"/>
-		<put name="body" value="/expresso/main.jsp"/>
-	</definition>
+    <!-- html definition Mappings  -->
+    <!-- Definition description  -->
+    <definition name="expressoClassicDefinition" path="/expresso/layout/expresso-layout.jsp">
+        <put name="title" value="Expresso Framework"/>
+        <put name="header" value="/expresso/header.jsp"/>
+        <put name="menu" value="/expresso/toc.jsp"/>
+        <put name="body" value="/expresso/main.jsp"/>
+    </definition>
 </tiles-definitions>


More information about the cvs mailing list