Hi Scandelli;
You can get the ServletContext from ConfigurationContext
ServletContext servletContext =
(ServletContext)configCtx.getProperty("transport.http.servletContext");
If your implementation class is a handler then , you can get access to
configurationContext using message context. and if the impl is service
implementation class then you need to have look at the following faq to
see , how can you get access to message context.
http://www.wso2.net/kb/106
Thanks
Deepal
> Hi,
>
> I’m using Apache Muse2.0 which is build on Axis2 and I would need to
> access the ServletContext from within a capability implementation
> class of Muse2.0 (a class implementing
> org.apache.muse.core.AbstractCapability).
>
> From what I’ve seen there's no any static way to access it through
> Axis2 classes (unlike Axis1) and apparently I cant access the
> MessageContext from my Muse2 class, could anyone help me?
>
> Thanks
>
> Francesco
>
--
Thanks,
Deepal
................................................................
~Future is Open~
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]