Re: WOServletContext.servletContext() vs WOServletContext().servletConfig().getServletContext()
Re: WOServletContext.servletContext() vs WOServletContext().servletConfig().getServletContext()
- Subject: Re: WOServletContext.servletContext() vs WOServletContext().servletConfig().getServletContext()
- From: Lachlan Deck <email@hidden>
- Date: Fri, 2 Jul 2010 08:53:09 +1000
Could certainly patch this in wonder.
On 01/07/2010, at 9:46 PM, Farrukh Ijaz wrote:
> Hi,
>
> Just thought to share for information.
>
> It's NOT a Wonder bug but looks like the WebObjects bug. (correct me if I'm wrong)
>
> A call to (WOServletContext context()).servletContext() returns null
> But a call to (WOServletContext context()).servletConfig().getServletContext() returns the instance of org.apache.catalina.core.ApplicationContextFacade (depending upon what server you've deployed your application on).
>
> This class is very important if you want to communicate from Wonder to Non-Wonder Web Application deployed on the same J2EE Application Server.
>
> Farrukh _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
with regards,
--
Lachlan Deck
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden