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] 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
