Rob Hazlewood wrote:
>
> I am no longer using getResourceAsStream() to open these
> files, so I need to find the full path that they are located in..
>
Hmm. Random thoughts, for what they're worth:
I'm don't think it's safe to assume that the servlet's physical
file system location is writable. Or do you mean some other
directory that's set up specially as an area where the files
should be written/read?
You've said that you wanted zero-setup, but as long as you
were going to have to set an environment variable, would it
be acceptable to set up an init parameter for the servlet?
You might check out the servlet container provided temporary
working directories. Check the spec, but the idea is that
the container has to provice a File object that points to
a local, writable, directory.
Did you mean the classloader getResourceAsStream(), or the
servlet context version? Either way, what was the problem,
and would getResource() work instead?
-cks
___________________________________________________________________________
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