• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

servlet image upload issue

 
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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


 
Sheriff
Posts: 7135
1360
IntelliJ IDE jQuery Eclipse IDE Postgres Database Tomcat Server Chrome Google App Engine
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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


 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic