Originally posted by Madhav Lakkapragada:
The difference is in deciding whether to encode the sessionID into the URL or not.
Both methods will add jsessionid to the URL where necessary, however (according to the API) the logic for working out whether it is necessary, is different for sendRedirect, hence two methods.
Any idea why the logic should be different?
Tomcat's implementation appears to use the same logic for both cases.
[ March 22, 2002: Message edited by: Tim Duncan ]