I'm using Spring on my Struts based web layer. All my actions currently extend Struts' MappingDispatchAction,,
Is it possible somehow to map beans (in action-servlet.xml) for single action class instead of action name?
for example, I have
I'd like something likeCode:<bean name="/admin/editUser,/admin/saveUser,/admin/listUsers,/admin/deleteUser,/listUserDetails" class="foo.bar.struts.action.UserDispatchAction" singleton="false"> <property name="service"> <ref bean="userAccountService"/> </property> </bean>
Code:<bean class="foo.bar.struts.action.UserDispatchAction" singleton="false"> <property name="service"> <ref bean="userAccountService"/> </property> </bean>


Reply With Quote