[ 
http://issues.apache.org/jira/browse/AXIS2-1106?page=comments#action_12432338 ] 
            
Jens Schumann commented on AXIS2-1106:
--------------------------------------

I realized saminda removed the ServletContext and added ServletConfig to Axis 
Configuration. This way I can access the servlet context via 
ConfigurationContext, however I believe  this change will break existing code.


> No more ServletContext in MessageContext
> ----------------------------------------
>
>                 Key: AXIS2-1106
>                 URL: http://issues.apache.org/jira/browse/AXIS2-1106
>             Project: Apache Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: core
>            Reporter: Jens Schumann
>         Assigned To: Eran Chinthaka
>            Priority: Blocker
>
> It seems we lost with current Axis2 Snapshot the capability to access the 
> current ServletContext (or ServletConfig) via MessageContext. In Axis2 1.0 
> one could use ServletContext ctx = (ServletContext) 
> messageCtx.getProperty(Constants.SERVLET_CONTEXT);, which is gone by now.
> Neither the deprecated Constants.SERVLET_CONTEXT nor 
> HttpConstants.MC_HTTP_SERVLETCONTEXT seem to be in use, and even 
> ServletConfig or ServletContext are stored somewhere.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to