wood burning stoves 2.0
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

Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
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: http://aspose.com/file-tools
subject: get ServletContext in Axis
It's not a secret anymore!