Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP 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