Re: forward request to URL outside current context

Devang Shah <[email protected]>
Newsgroups gmane.comp.java.sun.servlet
Message-ID <[email protected]>
I think forward() forwards request to the specified resource on the current
server only. However you can use HttpServletResponse.redirect to redirect
response to another server. You can also post to another URL from within
HTML/JSP page.

-Devang.

-----Original Message-----
From: A mailing list for discussion about Sun Microsystem's Java Servlet
API Technology. [mailto:[email protected]]On Behalf Of John
C Cartwright
Sent: Friday, May 30, 2003 1:48 PM
To: [email protected]
Subject: [SERVLET-INTEREST] forward request to URL outside current
context


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

=====================================================
John Cartwright
Associate Scientist
Geospatial Data Services Group
CIRES, National Geophysical Data Center/NOAA
(303) 497-6284
[email protected]
=====================================================

___________________________________________________________________________
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

___________________________________________________________________________
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.