Hi Amila,
I could not find anywhere in the code that sets the property of
MC_HTTP_SERVLET.
But there is this MC_HTTP_SERVLETCONTEXT, which is set in
org.apache.axis2.deployment.WarBasedAxisConfigurator.setConfigContext(ConfigurationContext
configContext)
public void setConfigContext(Configur
Are you running on Tomcat?
To use this attribute you should deploy the Axis2 war distribution.
Amila.
On 8/15/07, feh <[EMAIL PROTECTED]> wrote:
>
>
>
>
> Raghu Upadhyayula wrote:
> >
> > Hi Feh,
> >
> > You can get the ServletContext as follows (In Axis 1.3). Which
> > Axis version are yo
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.getProper
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);
Se