• 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

Oracle Database Uploading image Sollution

 
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I want to uploade a image in oracle database by jsp ,how to do this action ,i want to make a photo gallery Project .in this project i have a sign up option for that i have created a table in database and i want to uploade a image to in that database ,how to do this please help me regarding this ............
 
Bartender
Posts: 3648
16
Android Mac OS X Firefox Browser Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
How is your database storing the image, as a BLOB or location on the server?
 
S.shashank shekhar
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
image is not uploading in database but acess code is creating by the database,how to do this. ??
 
K. Tsang
Bartender
Posts: 3648
16
Android Mac OS X Firefox Browser Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Access code? How is your application or database using such access code?
 
S.shashank shekhar
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
In photogallery i have uploaded a image in C:\Users\sony\Documents\NetBeansProjects\PhotoGalleryFinal\web\uploadimg
location ,now i want to download that file from that location ,now what have to do now ???
 
K. Tsang
Bartender
Posts: 3648
16
Android Mac OS X Firefox Browser Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I doubt that's a good approach to your storing/uploading strategy.

You see the image or file may be on your computer now. What happens you want the app to run on another machine? That machine won't have this location nor the file.

If the file in on a (app) server specific location then yes get it from there, but you got to upload to this specific location in the first place.

Another approach is to store the entire image as BLOB in the DB then no physical location/ file is needed.
 
reply
    Bookmark Topic Watch Topic
  • New Topic