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=3790>. 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=3790 getRealPath returns context path twice Summary: getRealPath returns context path twice Product: Tomcat 4 Version: 4.0 Final Platform: PC OS/Version: Windows NT/2K Status: NEW Severity: Normal Priority: Other Component: Catalina AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] a call to pageContext.getServletContext().getRealPath(request.getRequestURI()) (this is from a jsp custom tag) returns: c:\jakarta-tomcat\webapps\app\app\dir\file.jsp where the expected response is: c:\jakarta-tomcat\webapps\app\dir\file.jsp