Have you considered using the @Controller annotation (stereotype) on all
Struts2 Actions (this way, Spring knows the bean id name). You can
always control the scoping of the object
@Controller("fooAction")
@Scope("request")
public class MyFooAction {
}
<action class="fooAction" name="foo"/>
I found this a cleaner (and easier) way to avoid having to maintain
another XML for our presentation.
Frans Thamura wrote:
I'm not sure what you're asking, but actions not defined in the Spring config
file will still be injected by beans that *are* in the Spring config file.
i think the idea to make the action package inside spring
i have experience, writing action is another bored repeated job
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Alberto A. Flores
http://www.linkedin.com/in/aflores
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]