I have used getServletContext().getRealPath("/") (or
getServletContext().getRealPath( req.getServletPath() ) )  to get the class
directory.  It works fine for every class I have in web-inf/class but it
returns null value for any class member of the package I've created.

My package(com.ewarna) follows the following structure:
web-inf/classes/com/ewarna

So I am wondering whether getServletContext().getRealPath("/") doesn't work
for package.

Does anyone have clue?
Bobo,

___________________________________________________________________________
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