Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

get ServletContext in Axis

 
Padmanabh Sahasrabudhe
Ranch Hand
Posts: 53
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

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?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic