[Jersey] HttpServletResponse in Grizzly?

From: Simon Roberts <>
Date: Mon, 20 Feb 2012 13:21:56 -0700


I'm trying to learn Jersey/JAX-RS, and have a simple example derived
from the hello world example, and it's working nicely, except that I
can't inject an HttpServletResponse (nor, I think, anything else that
comes from @Context). The problem appears to be that the Grizzly
container implementation jar files don't appear to include this class.

I'm running this entirely stand along (there's no container other than
Grizzly, no Tomcat, nor anything else). I'm also running this without
Maven (I want/need to understand how things fit together, and Maven in
this case would only serve to hide things)

So, am I missing a jar file, if so which, and where do I find it? Or
is Grizzly in some way intended to be incomplete? Or perhaps there's
something else I haven't done?