Hello,
 
In some of my service receiver code I need to access the ServletContext that axis2 is deployed in. I know in Axis 1.x I did this through a property set in the MessageContext. I have not however been able to figure how how to do this in Axis2.  In the doPost method of the AxisServlet the following property is set:
 
// adding ServletContext into msgContext;
msgContext.setProperty(Constants.SERVLET_CONTEXT, sessionContext);
 
Is this supposed to be the ServletContext being set here (instead of SessionContext) or am I missing something?
 
Thanks for any help,
 
Corey

Reply via email to