My reading of section 5.3 of the servlet-spec (version=2.3), says that you
are wrong.  Paths to sendRedirect are normal URL patterns, and are *not*
based on the calling Context.

"joe user" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi, if I have a context path such as /mycontext and I
> use response.sendRedirect("/foo.jsp"), the container
> should translate that into a full url such as
> http://myserver/mycontext/foo.jsp, instead of
> http://myserver/foo.jsp.  However, it seems that this
> is not happening.  Am I doing something wrong, or is
> there a bug, or ???
>
> Thanks for any help on this.
>
>
> __________________________________
> Do you Yahoo!?
> Yahoo! Calendar - Free online calendar with sync to Outlook(TM).
> http://calendar.yahoo.com




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

Reply via email to