users@jersey.java.net

ServletContext?

From: Casper Bang <casper_at_jbr.dk>
Date: Wed, 11 Mar 2009 13:04:09 +0100

Hello list,

I'm moving from my custom/ad-hoc REST framework over to Jersey, and so far
I'm impressed by what I see. One small issue I have is figuring out how to
obtain a servlet context from within a POJO resource, in a normal servlet
one would simply call getServletContext(). Is it still possible to get to
this somehow in a Jersey application?

Thanks,
Casper