I tried the following in a JServ 1.b5 servlet running under Apache 1.3.6
HttpRequest req.getRealPath(req.getRequestURI())
returns the request URI appended to the document root, and no alias
translation takes place, so the resulting path is useless.
getServletConfig().getServletContext().getRealPath(req.getRequestURI())
returns null, which isn't a lot of use either.
Would anyone like to provide a rationale? I've read the Sun Servlet spec,
and can't say that either result fits my expectation.
Colin Low
PS. Running on Windows
-- --------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
READ THE FAQ!!!! <http://java.apache.org/faq/>
Archives and Other: <http://java.apache.org/main/mail.html/>
Problems?: [EMAIL PROTECTED]