This content has been marked as final.
Show 1 reply
-
1. Re: @EJB injection with Struts2
alrubinger Aug 6, 2007 11:24 AM (in response to prevsetko)Ah; you can't inject into a Struts Action class; only into EJB3 container-managed objects (in JBoss 4.x, JBoss 5 supports Servlet Injection).
You can replace the @EJB injection with a Context.lookup() call to JNDI to obtain your EJB proxy object.
S,
ALR