It seems Struts 2 is not injecting Container reference on CompositeActionMapper.
Really strange.
I tried create another Composite Action Mapper Bean called compositeMapper and using it in struts.mapper.class but do not work too.
Any Thoughts?
Thank you.
Aloha,
afael Sobral
Jeromy Evans - Blue Sky Minds wrote: > > 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@(protected) > For additional commands, e-mail: user-help@(protected) > > >
-- Sent from the Struts - User mailing list archive at Nabble.com.
--------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@(protected) For additional commands, e-mail: user-help@(protected)