Hello Monika,
does following help?
http://stackoverflow.com/questions/1479036/access-file-in-webcontent-folder-from-a-servlet
Regards,
Pavel
On 12/9/11 11:44 AM, Monika Solanki wrote:
> 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
>