You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by bu...@apache.org on 2003/04/10 09:58:59 UTC
DO NOT REPLY [Bug 18894] -
RequestProcessor shouldn't add context-root with redirect
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18894>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18894
RequestProcessor shouldn't add context-root with redirect
------- Additional Comments From ndeloof@capgemini.fr 2003-04-10 07:58 -------
Here is the encoRedirect Servlet API javadoc:
"
Encodes the specified URL for use in the sendRedirect method or, if encoding is
not needed, returns the URL unchanged. The implementation of this method
includes the logic to determine whether the session ID needs to be encoded in
the URL. Because the rules for making this determination can differ from those
used to decide whether to encode a normal link, this method is seperate from
the encodeURL method."
Nothing is said about adding contextPath to the URI. If you're using websphere,
this is a known bug that can be corrected by setting this system property :
com.ibm.websphere.sendredirect.compliance=true
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-dev-help@jakarta.apache.org