IoC and Guice 1.0 Struts 2.0.8

2007-07-27 Thread Łukasz Łapiński
Hello :). I would really love to use IoC in my struts project. Has anyone any experiences with integration Struts and Guice. Mine are unfortunatelly unpleasant. I would appreciate any help. I looked at this problem for a couple of days but I guess I can't handle this myself. I wrote on gu

Re: IoC and Guice 1.0 Struts 2.0.8

2007-07-27 Thread Oleg Mikheev
Łukasz Łapiński wrote: I would really love to use IoC in my struts project. Has anyone any experiences with integration Struts and Guice. I'm using Guice, but I'm not defining any modules (what do you need them for?) I just added 3 libs (guice-1.0.jar, guice-servlet-1.0.jar, guice-struts2-plugi

Re: IoC and Guice 1.0 Struts 2.0.8

2007-07-27 Thread Łukasz Łapiński
On Fri, 27 Jul 2007 13:13:15 +0200, Oleg Mikheev <[EMAIL PROTECTED]> wrote: Łukasz Łapiński wrote: I would really love to use IoC in my struts project. Has anyone any experiences with integration Struts and Guice. I'm using Guice, but I'm not defining any modules (what do you need them for?)

Re: IoC and Guice 1.0 Struts 2.0.8

2007-07-29 Thread Jeromy Evans
Lukasz, It was a few months ago, but I recall encountering the same problem when trying to define a Guice module. As you described, it worked fine without a Module but failed when one was specified. I tracked it down to a bug (in the plugin I think?) and it was solved by building the current v

Re: IoC and Guice 1.0 Struts 2.0.8

2007-07-31 Thread Łukasz Łapiński
That must be a bug, when I updraded to version 1.0.1 of guice-struts plugin and moved libraries from tomcat/common to web-inf/lib everything is back to normal. I will remove the guice filter :) if it is unnecessary. Thx, Lukasz Dnia 30-07-2007 o godz. 3:24 Jeromy Evans napisał(a): > Lukasz, >