---Original Message-
> From: Wyn Easton [mailto:[EMAIL PROTECTED]]
> Sent: 13 November 2000 22:51
> To: [EMAIL PROTECTED]
> Subject: Re: Contexts and dispatchers
>
>
> Hi Richard,
>
> Sorry for the misunderstanding. I think I finally see what you are
> trying to do.
&
icitly.
>
> Help, anyone?
>
> Richard
>
> >
> > --- Richard Evans <[EMAIL PROTECTED]> wrote:
> > > But I need the context path for a different ServletContext.
> > > request.getContextPath returns the path for _this_ context, not
> a
>
e path for _this_ context, not a
> > foreign
> > one.
> >
> > > -Original Message-
> > > From: Wyn Easton [mailto:[EMAIL PROTECTED]]
> > > Sent: 11 November 2000 21:57
> > > To: [EMAIL PROTECTED]
> > > Subject: Re: Conte
different ServletContext.
> request.getContextPath returns the path for _this_ context, not a
> foreign
> one.
>
> > -Original Message-
> > From: Wyn Easton [mailto:[EMAIL PROTECTED]]
> > Sent: 11 November 2000 21:57
> > To: [EMAIL PROTECT
But I need the context path for a different ServletContext.
request.getContextPath returns the path for _this_ context, not a foreign
one.
> -Original Message-
> From: Wyn Easton [mailto:[EMAIL PROTECTED]]
> Sent: 11 November 2000 21:57
> To: [EMAIL PROTECTED]
> Subject: R
--- Richard Evans <[EMAIL PROTECTED]> wrote:
> "/file/x/y". (The URL without the context root). How to I find the
> context
Use request.getContextPath()
If your web app. is called app1 getContextPath() would return /app1
=
Wyn Easton
[EMAIL PROTECTED]
_