Re: forward request to URL outside current context

Paul Copeland <[email protected]>
Newsgroups gmane.comp.java.sun.servlet
Organization JOT Object Technologies
Message-ID <[email protected]>
The example below does not work to dispatch to another context.
RequestDispatcher only works for the current context (webapp), as
clearly documented.

Paul Copeland, JOT Object Technologies - http://www.jotobjects.com

>
> Date:    Fri, 30 May 2003 14:13:22 -0400
> From:    Nick Laborera <[email protected]>
> Subject: Re: forward request to URL outside current context
>
> getServletConfig().getServletContext().getRequestDispatcher(page_location).forward(request,
> response);
>
> regards,
> Nick Laborera
>
> John C Cartwright wrote:
>
>
>>Hello All,
>>
>>is there a way that I can use the
>>RequestDispatcher.forward(request,response) method to forward a request
>>to an URL outside the current context?
>>
>>Thanks!
>>
>>-- john
>>

___________________________________________________________________________
To unsubscribe, send email to [email protected] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.