This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "image error in jsf" Watch "image error in jsf" New topic

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.


With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
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