see ContextImage and how it builds a context relative url

-igor


On Jan 14, 2008 7:59 PM, Scott Sauyet <[EMAIL PROTECTED]> wrote:
> Scott Sauyet wrote:
> > I'm finally converting from 1.2 to 1.3 and have gotten down to one
> > compilation error!
> >
> > I need to find a way to replace a call to
> >
> >     IApplicationSettings.getContextPath()
> >
>
> Never mind.  It really isn't that hard:
>
>      (WebApplication) Application.get()).getServletContext()
>          .getContextPath();
>
> Of course I'd still love to hear if there is a better way to do this!
>
>
>    -- Scott
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

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

Reply via email to