struts2 使用*_* 通配符配置,如何交给spring管理

按照以往的开发方式。struts的映射都是在xml中写出配置,然后class写别名交给spring管理,现在项目使用*_*的配置,无法写别名了,这样的写法怎么才能把struts2交给spring管理?

1、struts2

2、spring

例如 请求testAction_test.action
class testAction(Spring 管理的 Action)
method test

注意和Spring管理的Action名字一样就行