>>> Xizhen Wang <[EMAIL PROTECTED]> 09-May-00 2:58:58 PM >>>
>But if I use HttpServletResponse.sendRedirect(String location),
>I cannot forward the request to the new servlet as
>RequestDispatcher.forward() does.
Of course not.
>Is there a way to work around this?
No.
RequestDispatcher.forward() can only be used within a single context.
You can use getContext() to get another context on the same webserver
but there is *no* way of doing this across servers.
To be honest Xizhen, why would you want to? It doesn't make sense.
Perhaps if you tell us what your actual problem is we can help.
Nic Ferrier
___________________________________________________________________________
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