On 11/3/06, Lixin Chu <[EMAIL PROTECTED]> wrote:
> > just curious, what's the benifits of configuring Struts Actions in Spring > ? isn't Struts config file enough ?
Generally, it's plenty enough. When using Spring, all most people will need to do is autowire Spring beans into Action properties. But, if an application make extensive use of Spring, it can be convenient to manage all the classes in one location -- the Spring configuration. Remember that Actions do not need to implement a special interface. Actions can also be POJOs that are not tied to Struts or the web layer in any way. I haven't tried this myself, but I believe this might also be a way to use singleton Actions in Struts 2. -- HTH, Ted. * http://www.husted.com/struts/ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]