Trying to get ServletContext, request, and response from Web Service
I am trying to get the ServletContext Object (a.k.a. application variable), HttpServletRequest Object (a.k.a. request variable), and the HttpServletResponse Object( a.k.a. response variable) in a Web Service.
I am using Netbeans 6.0 and Tomcat 6.0.14 to do this.
When I look at my web service source, the class doesn't have any way I can get/set/etc. application/request/response/session variables.
How can I access application/request/response/session variables from a web service?