File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSF and the fly likes image error in jsf Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "image error in jsf" Watch "image error in jsf" New topic
Author

image error in jsf

muntago Richard
Ranch Hand

Joined: Nov 13, 2010
Posts: 82
i tried to upload image but it prints error

Photo0017.jpg (The system cannot find the file specified)


Kathleen Angeles
Ranch Hand

Joined: Aug 06, 2012
Posts: 122

Instead of using uploadedFile.getName(), use uploadedFile.getSize() and uploadedFile.getInputStream() instead.

-k

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: image error in jsf
 
Similar Threads
How to store image in JSP from BLOB captured in Oracle
Couldn't able to insert image file in MySQL, Data truncation: Data too long for column 'image' at...
image insert problem
Problem with Uploading Pictures using Jsp
image problem in jsf