• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

servlet image upload issue

 
fredrick esedo
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
ExamLab Creator
Marshal
Pie
Posts: 4594
302
Chrome Eclipse IDE Google App Engine IntelliJ IDE jQuery Postgres Database Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
fredrick esedo wrote:the image itself now into the database it refuses to get uploaded

Are you getting any exception, or what's happen?
 
fredrick esedo
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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


 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic