jsr340-experts@servlet-spec.java.net

[jsr340-experts] SERVLET_SPEC-56

From: Shing Wai Chan <shing.wai.chan_at_oracle.com>
Date: Wed, 27 Feb 2013 16:14:58 -0800

I am looking at http://java.net/jira/browse/SERVLET_SPEC-56
("clarify effect of disabling the use of url rewriting for session
tracking on HttpServletResponse.encodeURL() and
HttpServletResponse.encodeRedirectURL()")

In javadoc of HttpServletResponse#encodeURL, we have the following:
For example, if the browser supports cookies, or session tracking is
turned off, URL encoding is unnecessary.

This is not mentioned in the javadoc of #encodeRedirectURL.
I think the same statement should be added to javdoc of #encodeRedirectURL.

Regards,
       Shing Wai Chan