Allen Lee wrote:
> Hey there,
>
>
> Has anyone successfully gotten CompositeActionMapper to work and how?
>
>
<!-- Define the action mappers -->
<bean type="org.apache.struts2.dispatcher.mapper.ActionMapper"
name="addressMapper"
class="com.mycompany.actionmapper.CustomActionMapper" />
<bean type="org.apache.struts2.dispatcher.mapper.ActionMapper"
name="compositeMapper"
class="org.apache.struts2.dispatcher.mapper.CompositeActionMapper" />
<!-- configure the composite order (custom mapper and the default rest
plugin action mapper) -->
<constant name="struts.mapper.composite" value="addressMapper,rest" />
<!-- enable the composite mapper -->
<constant name="struts.mapper.class" value="compositeMapper"/>
---------------------------------------------------------------------
To unsubscribe, e-mail:
user-unsubscribe@...
For additional commands, e-mail:
user-help@...