File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

get ServletContext in Axis

 
Padmanabh Sahasrabudhe
Ranch Hand
Posts: 53
  • 0
  • 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?
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic