Grizzly and ServletContainerContext
问题 I'm trying to get hold of some injected context (for example Session or HttpServletRequest) in a Servlet I've written, running on Grizzly, but nothing I do seems to work. The whole process seems to stall rather prematurely with the following error: SEVERE: Missing dependency for field: javax.servlet.http.HttpServletRequest com.test.server.LolCat.hsr The server is dead simple, it consists of two files, the static entry point (Main.java): package com.test.server; import java.io.IOException;