users@jersey.java.net

[Jersey] Read a file from a Jersey resource deployed on tomcat

From: Monika Solanki <monika.solanki_at_gmail.com>
Date: Fri, 09 Dec 2011 10:44:33 +0000

In my jersey resource I would like to read a file which has been placed
in WebContent on Tomcat. How do I get access to this file? I tried using
the ServletContext through @Context, but it seems as if this is not
available in the current API spec.

Thanks