From: <php...@li...> - 2010-08-11 10:06:14
|
> if I remember correctly we don't need to > if I remember correctly we don't need to > check "javax.include.request_uri" attribute, because it is guaranteed > to be the same as the return value of getRequestUri() Above statement is false. javax.servlet.include points to the target and javax.servlet.forward to the source. We are interested in the target but not in the source; the current Java Bridge code is correct. <!-- from.jsp --> <jsp:include page="to.php"/> getXXXX() methods => from javax.servlet.include.xxx => to <!-- from.jsp --> <jsp:forward page="to.php"/> getXXXX() methods => to.php javax.servlet.forward.xxx => from If jetty returns null for request.getRequestURI(), please report this bug to the jetty maintainer. We cannot work around this jetty bug. > For port 80, it includes the port number. The actually variable is sth like > acme.com:80 , but in Apache/Nginx, HTTP_HOST won't show the port number when > the port is 80. Changed in CVS head. Thank you very much for sending the patch. Regards, Jost Bökemeier |