aspose file tools
The moose likes Servlets and the fly likes servlet image upload issue Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Java » Servlets
Reply Bookmark "servlet image upload issue" Watch "servlet image upload issue" New topic
Author

servlet image upload issue

fredrick esedo
Greenhorn

Joined: Mar 04, 2010
Posts: 23
Hi everyone please i need a help. This code was used to upload image to a directory
as well as storing the image name eg fred.gif into the database. But when i tried to upload
the image itself now into the database it refuses to get uploaded
the code i used for the substitution is as follow




Here is my main code thanks


Devaka Cooray
Saloon Keeper

Joined: Jul 29, 2008
Posts: 2729
    
    3

fredrick esedo wrote:the image itself now into the database it refuses to get uploaded

Are you getting any exception, or what's happen?


Author of ExamLab (Download) - the free mock exam kit for SCJP / OCPJP
HELP me! -- Home Page -- Twitter Profile -- JavaRanch FAQ -- How to Ask a Question
fredrick esedo
Greenhorn

Joined: Mar 04, 2010
Posts: 23
Thank you very much sir for your willingness to help.
There is no exception.the problem is that immediately i substituted this code below in and run the programme
nothing will be submitted into my database again.But if i should run the code as it is ,only the image name eg fred.gif
will be uploaded into my database may the problem can be from my SQL STATEMENT that i used.Please i need your help as even anywhere i can get the servlet code that will do the same image upload will be honured.
thanks and have a wonderful day


 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: servlet image upload issue
 
Similar Threads
Large File Size Upload Problem
error in uploading zip file
JSP Page For Uploading a File to Destination Folder
servlet image upload issue
problem in uploading a file