tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dunkle, Ed" <Ed.Dun...@ameriserve.com>
Subject getting the absolute path of the requested resource in a servlet
Date Tue, 02 May 2000 23:44:37 GMT
This seems to be an anomalie:
getServletConfig().getServletContext().getRealPath(req.getRequestURI())

returns something like:
abspath/mycontext/mycontext/filename

I would think the desired behavior would be:
abspath/mycontext/filename

Comments??


Thanks,
Ed

Mime
View raw message