You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@velocity.apache.org by nb...@apache.org on 2004/02/12 00:58:30 UTC
cvs commit: jakarta-velocity-tools/examples/struts/WEB-INF struts-app2-config.xml
nbubna 2004/02/11 15:58:30
Modified: examples/struts/WEB-INF struts-app2-config.xml
Log:
add global forward for demo
Revision Changes Path
1.2 +10 -1 jakarta-velocity-tools/examples/struts/WEB-INF/struts-app2-config.xml
Index: struts-app2-config.xml
===================================================================
RCS file: /home/cvs/jakarta-velocity-tools/examples/struts/WEB-INF/struts-app2-config.xml,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- struts-app2-config.xml 27 Jan 2004 00:04:30 -0000 1.1
+++ struts-app2-config.xml 11 Feb 2004 23:58:30 -0000 1.2
@@ -30,6 +30,16 @@
</form-beans>
+ <!-- ========== Global Forward Definitions ============================== -->
+ <global-forwards>
+
+ <!-- Forward to source pages -->
+ <forward
+ name="src"
+ path="/examples/struts_app2/tool-demo.vm"
+ contextRelative="true"/>
+
+ </global-forwards>
<!-- ========== Action Mapping Definitions ============================== -->
<action-mappings>
@@ -42,7 +52,6 @@
scope="request"
validate="false">
<forward name="home" path="/examples/struts_app2/tool-demo.vm" contextRelative="true"/>
- <forward name="exit" path="/examples/struts_app2/tool-demo.vm" contextRelative="true"/>
</action>
<action path="/demoSrc"
---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-dev-help@jakarta.apache.org