Hi,

When uploading an image using file upload calling this code:

InputStream stream = new BufferedInputStream(new FileInputStream(file));

It seems like the webapplication try to access the filesystem temporary to
create the file using FileInputStream.

On Windows it works, but it seems like on Unix server it does not have
permission to access the filesystem using FileInputStream, , am I right ?

- What should I do ?
- Is there other way to convert a file to inputStream without accessing the
filesystem ?

-taltun




-- 
View this message in context: 
http://www.nabble.com/Fileupload-tp24582943s2369p24582943.html
Sent from the AppFuse - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net
For additional commands, e-mail: users-h...@appfuse.dev.java.net

Reply via email to