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



Reply via email to