> From: Ludwig Magnusson [mailto:[email protected]]
> Subject: RE: Problems finding the right filepath
> 
> Thank you, that one worked.

Again, getRealPath() is not guaranteed to return anything - it's up to the whim 
of the container.  To quote from the API doc:

"This method returns null if the servlet container cannot translate the virtual 
path to a real path for any reason (such as when the content is being made 
available from a .war archive)."

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY 
MATERIAL and is thus for use only by the intended recipient. If you received 
this in error, please contact the sender and delete the e-mail and its 
attachments from all computers.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to