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 12067] - Tomcat 4.0.4 returns [null] for getServletContext getRealPath for unpacked wars
Date Tue, 27 Aug 2002 08:38:09 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=12067>.
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=12067

Tomcat 4.0.4 returns [null] for getServletContext getRealPath for unpacked wars

remm@apache.org changed:

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



------- Additional Comments From remm@apache.org  2002-08-27 08:38 -------
It is allowed to return null in that case, so it is not a bug as Scott
mentioned. This is a beneficial feature in the specification as it allows
filesystem indepedence, so it is unlikely this will be changed.
It is best if your webapp does not rely on having direct filesystem access. Use
getResource or getResourceAsStream if you can.

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


Mime
View raw message