File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Web Services and the fly likes get ServletContext in Axis Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "get ServletContext in Axis" Watch "get ServletContext in Axis" New topic

get ServletContext in Axis

Padmanabh Sahasrabudhe
Ranch Hand

Joined: Mar 04, 2008
Posts: 53

I am trying to get ServletContext in Axis. is MessageContext the only object which gives handle to the Servlet in Axis, is there any other way?

My problem is I am trying to get the Servlet context thru' a daemon thread which I keep on running. And it is giving me MessageContext as null, which seems obvious because I am not getting it from any message. Its a stand alone daemon thread. any suggestions?
I agree. Here's the link:
subject: get ServletContext in Axis
It's not a secret anymore!