The idea is that you need to teach Tomcat how to instantiate your
Servlets.
You need: guice-2.0.jar, guice-servlet-2.0.jar, aopalliance.jar.
In war/WEB-INF/web.xml:
?xml version=1.0 encoding=UTF-8?
!DOCTYPE web-app
PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.3//EN
I am new to Injection . What I wanted to do was a simple Interface Injection
in my GWT IMpl . Can anyone tell me how do a Field Injection or a
construction based Injection .Assume Everything in this snippet works fine
.
Public Interface Payment(
public void pay();
}
--
You received this message
Sry it was an incomplete post . Here is my full post .
I am new to Injection . What I wanted to do was a simple Interface Injection
in my GWT IMpl . Can anyone tell me how do a Field Injection or a
construction based Injection .Assume Everything in this snippet works fine
.
public Interface