• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: WOServletContext.servletContext() vs WOServletContext().servletConfig().getServletContext()
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >WOServletContext.servletContext() vs WOServletContext().servletConfig().getServletContext() (From: Farrukh Ijaz <email@hidden>)

  • Prev by Date: Re: Advise on deadlock
  • Next by Date: Re: Advise on deadlock
  • Previous by thread: WOServletContext.servletContext() vs WOServletContext().servletConfig().getServletContext()
  • Next by thread: Newbie question about WebObjects suitability for social game (Facebook) development
  • Index(es):
    • Date
    • Thread