You can use the plain old web.xml + JNDI lookup. You declare a <resource-ref> in web.xml, and look it up in your JavaBeans class. This is equivalent to @Resource injection.
You can also implement it in a servelt class, or a tag handler class where @Resource injections are supported.
-cheng
[Message sent by forum member 'cf126330' (cf126330)]
http://forums.java.net/jive/thread.jspa?messageID=256920