(using resin 1.2.5)
When getting the path to WEB-INF using:

String APPLICATION_ROOT =
getServletConfig().getServletContext().getRealPath("/WEB-INF");

I get the following path:

/Users/rkoberg/Desktop/resin/doc/WEB-INF/index_en.xml

'jimmy' is the name of the drive that has the OS X system.  If I want to
view a page in the WEB-INF directory from a browser (not through the
webserver rather the file system) I would get the follwoing path:

file:///jimmy/Users/rkoberg/Desktop/resin/doc/index_en.xml

___________________________________________________________________________
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