Sun JunXu <[EMAIL PROTECTED]> wrote:
__________
>thanks,
>it doesn't work. getRealPath(String) cann't return any path.
>and what I want is read from a normal virtual directory on webserver into a
>servlet mounted directory, is there other way?
>
>thank you very much.
Yes, from memory I think i used
this.getClass().getResourceAsStream("../apps/file.txt")
T.
URL http://www.westhawk.co.uk/
___________________________________________________________________________
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