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 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 Murach's Java Servlets and JSP this week in the Servlets 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
Author

image is not uploaded into the database

fredrick esedo
Greenhorn

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
Marshal

Joined: Mar 22, 2005
Posts: 41089
    
  44
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 - my free Android networking tools app
 
 
subject: image is not uploaded into the database
 
Similar Threads
How to update a image using servlet?
how to upload using html or javascript?
NumberFormatException : null
ResultSet Exhausted Error
Problem with Image display in JSP