tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wai-Yip Tung" <>
Subject relative path version of getRealPath()?
Date Thu, 11 Oct 2001 16:59:32 GMT
ServletContext.getRealPath() return the file name for a given virtual path.
THe virtual path is relative to the context path. Do we have a similar
method to find the real path relative to current request? There is a
ServletRequest.getRealPath() but it is deprecated.


View raw message