You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2004/02/09 09:53:11 UTC

DO NOT REPLY [Bug 26780] - getServletContext().getResource(requestURI) does not return complete resource URL when requesting a welcome-file

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

remm@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID



------- Additional Comments From remm@apache.org  2004-02-09 08:53 -------
For getting information, tips, etc, there's tomcat-user.

Facts:
- getServletContext().getResource(requestURI) does not do mapping. It merely
provides a mean to check if the specified static resource exists, and access to
the features of a URL if it does (getting the last modification date, size, etc)
- since this is not mapping, welcome files are not used
- what you're getting back is a URL to the folder
- 4.1.x has exactly the same code as 5.0.x for this, so please don't pretend
there is a regression

Please do not reopen this report.

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org