"Pierre-Yves Saumont" <[EMAIL PROTECTED]> wrote:
[snip]
>                 String path =
getServletConfig().getServletContext().getRealPath("/");
[snip]

quoting (edited) from 2.2 spec api javadoc (haven't lookend in 2.3):
-------------------------
public java.lang.String getRealPath(java.lang.String path)
...
This method returns null if the servlet container cannot translate the
virtual path to a real path for any reason (such as when the content is
being made available from a .war archive).
...
-------------------------
any hint for this case ?

Marco

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to