Author: tmjee
Date: Tue Nov 14 21:08:29 2006
New Revision: 475123

URL: http://svn.apache.org/viewvc?view=rev&rev=475123
Log:
WW-1490
 -  Have a composite ActionMapper that decides which ActionMapper it contains 
should be used
 -  re-adding this cause, the comments was accidently deleted during last commit


Modified:
    
struts/struts2/trunk/core/src/main/resources/org/apache/struts2/default.properties

Modified: 
struts/struts2/trunk/core/src/main/resources/org/apache/struts2/default.properties
URL: 
http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/main/resources/org/apache/struts2/default.properties?view=diff&rev=475123&r1=475122&r2=475123
==============================================================================
--- 
struts/struts2/trunk/core/src/main/resources/org/apache/struts2/default.properties
 (original)
+++ 
struts/struts2/trunk/core/src/main/resources/org/apache/struts2/default.properties
 Tue Nov 14 21:08:29 2006
@@ -49,6 +49,15 @@
 
 ### How request URLs are mapped to and from actions
 #struts.mapper.class=org.apache.struts2.dispatcher.mapper.DefaultActionMapper
+### The above line is to be commented and following are to be uncommented to
+### enable CompositeActionMapper
+### - With CompositeActionMapper one could specified many ActionMapper 
instance, where
+###   each of them will be chosen according to the order. Lower order number 
has
+###   higher precedence
+#struts.mapper.class=org.apache.struts2.dispatcher.mapper.CompositeActionMapper
+#struts.mapper.composite.1=org.apache.struts2.dispatcher.mapper.DefaultActionMapper
+#struts.mapper.composite.2=foo.bar.MyActionMapper
+#struts.mapper.composite.3=foo.bar.MyAnotherActionMapper
 
 ### Used by the DefaultActionMapper
 ### You may provide a comma separated list, e.g. 
struts.action.extension=action,jnlp,do


Reply via email to