The problem is:
recover an entry in the Environment Context of a
Tomcat 7 Application using @Resource annotation.
I defined in the context.xml of my application:
if I
lookup directly the Jndi Context it's all ok, I retrieve correctly the URL variable:
if I try to use the resource injection using @Resource annotation:
(i'm using Struts2 framework)
in this case I obtain in the Tomcat console:
pathFileconfig: null
what's wrong ?
Thanks