File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Other Open Source Projects and the fly likes image is not uploaded into the database Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "image is not uploaded into the database" Watch "image is not uploaded into the database" New topic

image is not uploaded into the database

fredrick esedo

Joined: Mar 04, 2010
Posts: 23
Please help. this code returns blank page instead of uploading the picture in the database
Please what do i do. its supposed to display IMAGE SUCCESSFUL if the image is inserted
Please sir help me check if the problem is from <input type="file" name="file" id="file">
because my table datatype is blob with file as the column name.

thanks and God bless

here is the code

Ulf Dittmer

Joined: Mar 22, 2005
Posts: 39547
Since you didn't mention anything to that effect, I take it that there were no error messages? Is the "else" block of the "if (item.isFormField()) condition" ever executed? If so, what messages are shown?

Ping & DNS - updated with new look and Ping home screen widget
I agree. Here's the link:
subject: image is not uploaded into the database
Similar Threads
How to update a image using servlet?
ResultSet Exhausted Error
how to upload using html or javascript?
NumberFormatException : null
Problem with Image display in JSP