axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pradeep Fernando (JIRA)" <j...@apache.org>
Subject [jira] Commented: (AXIS2-4578) AxisServlet can no longer be access to retrieve InitParameters
Date Wed, 26 Jan 2011 10:30:43 GMT

    [ 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: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


Mime
View raw message