Re: Struts 2 providing injection

2007-05-18 Thread Ian Roughley
Struts2, or more precisely XWork, uses an early version of Guice. I was wondering about doing the same thing on a current project, and my initial thought was that you would need to define the beans being injected via the struts.xml configuration file or to provide a way to supply the managed

Struts 2 providing injection

2007-05-18 Thread Will Smith
Hi, I have an action that I've been injecting with Guice. I just noticed that there is an @Inject annotation defined in com.opensymphony.xwork2.inject. I'm assuming that this allows you to use struts 2 as the di provider. So I tried removing my com.google.inject.*imports that bring in the @Inject