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=26780>. 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=26780 getServletContext().getResource(requestURI) does not return complete resource URL when requesting a welcome-file Summary: getServletContext().getResource(requestURI) does not return complete resource URL when requesting a welcome- file Product: Tomcat 5 Version: 5.0.18 Platform: PC OS/Version: Windows NT/2K Status: NEW Severity: Major Priority: Other Component: Servlet & JSP API AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] If the requestURI has no document string (eg index.html) such that a welcome-file-list root document is requested, then the call to: URL contentURL = getServletContext().getResource(requestURI) does not return the full welcome-file resource URL (the document/welcome-file is missing): jndi:/host/ instead of jndi:/host/index.html (where index.html is the welcome file) Tomcat 4 returned the full URL, Tomcat 5 does not. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]