tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 3698] - ServletContext.getRealPath() no longer adds trailing slash to result.
Date Thu, 20 Sep 2001 23:02:57 GMT
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=3698>.
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=3698

ServletContext.getRealPath() no longer adds trailing slash to result.

craig.mcclanahan@sun.com changed:

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



------- Additional Comments From craig.mcclanahan@sun.com  2001-09-20 16:02 -------
The spec for ServletContext.getRealPath() says:

  Returns a String containing the real path for a given virtual path.
  ... The real path will be in a form appropriate to the computer and
  operating system on which the servlet container is running, including
  the appropriate path separators.

It seems to me that the current behavior conforms to this requirement, and that
(in fact) the Tomcat 3.2 behavior is incorrect for some operating systems.

Mime
View raw message