[
https://issues.apache.org/jira/browse/AXIS2-4578?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12986938#action_12986938
]
Pradeep Fernando commented on AXIS2-4578:
-----------------------------------------
hi ralf,
in AxisEngine.java :717 it sets the servelet context as below.
msgContext.setProperty(HTTPConstants.MC_HTTP_SERVLETCONTEXT, context);
so I beleive you can get the servlet context using :
messageContext.getProperty(HTTPConstants.MC_HTTP_SERVLETCONTEXT) and get the
initParams from there.
--Pradeep
> AxisServlet can no longer be access to retrieve InitParameters
> --------------------------------------------------------------
>
> Key: AXIS2-4578
> URL: https://issues.apache.org/jira/browse/AXIS2-4578
> Project: Axis2
> Issue Type: Bug
> Affects Versions: 1.5
> Environment: sunjdk1.5, debian-lenny
> Reporter: Ralf Hauser
>
> Unfortunately,
> HttpServlet servlet =
> (HttpServlet)MessageContext.getCurrentMessageContext()getProperty(HTTPConstants.MC_HTTP_SERVLET);
> no longer works :(
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]