Have a look at
http://wso2.org/library/480
Thanks
Deepal
> I did some digging, and I was able to get the ServletContext via:
>
> MessageContext context = MessageContext.getCurrentMessageContext();
> ServletContext servletContext =
> (ServletContext)context.getProperty("transport.http.servletContext");
>
>
>
> feh wrote:
>
>>
>> Raghu Upadhyayula wrote:
>>
>>> Hi Feh,
>>>
>>> You can get the ServletContext as follows (In Axis 1.3). Which
>>> Axis version are you using?
>>> For Axis 1.3
>>> MessageContext context = MessageContext.getCurrentContext();
>>> HttpServlet servlet =
>>> (HttpServlet)context.getProperty(HTTPConstants.MC_HTTP_SERVLET);
>>> ServletContext servletContext = servlet.getServletContext();
>>>
>>> For Axis2 1.2
>>> MessageContext context =
>>> MessageContext.getCurrentMessageContext();
>>> HttpServlet servlet =
>>> (HttpServlet)context.getProperty(HTTPConstants.MC_HTTP_SERVLET);
>>> ServletContext servletContext = servlet.getServletContext();
>>>
>>> Thanks
>>> Raghu
>>>
>>>
>>>
>> Than
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]