Hi,
I wonder if this is a bug or just "behavior":
Calling

  config.getServletContext().getRealPath("servlet/ServletName")

returns null in JSWDK 1.0 EA if the document base for this context is set to
a http URL (http://localhost:8082/repository/ in my case). The javadoc for
this method says

"This method returns null if the translation could not be performed for any
reason.",

but I can't see why this could not be translated to
"http://localhost:8082/repository/servlet/ServletName".

Any ideas ?

Thanks
Petr

___________________________________________________________________________
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