I'm designing a class that is used by a
servlet and it needs a reference to the servlet context for resource access. However, I don't have a reference to either the servlet or its context. Is it possible to get this from the container via JNDI lookup? If so is there an example out there? If not, is there any alternative to passing the context in?
Thanks in advance
Jeff Gaer