• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Bear Bibeault
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Jj Roberts
  • Carey Brown
Bartenders:
  • salvin francis
  • Frits Walraven
  • Piet Souris

Uploading an image

 
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi!
How should i upload and download an image from the server to jsp page.The backend is sqlserver7.0.
Regards.
Vijaya.
 
Author
Posts: 399
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
well in that case...
you need not store the image in DB...but you can just store the path at which you store the image & recall it from there using <img src...> tag...
hth
MB
 
vijaya soft
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi!
I would like to upload the image into the server in the sense the database.How to upload and how to download.As i know ,using getbinarystream or bytearraystream we can download.But i'm unable to do.Could u please give me a small snippet.
Regards.
Vijaya.
 
Ranch Hand
Posts: 1561
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Originally posted by vijaya soft:
Hi!
I would like to upload the image into the server in the sense the database.How to upload and how to download.As i know ,using getbinarystream or bytearraystream we can download.But i'm unable to do.Could u please give me a small snippet.
Regards.
Vijaya.


Have you checked at the Oreilly classes, by jason hunter?
I personally use jspsmartupload to upload files to my server. have a look at it...
hope it helps..
 
Do you want ants? Because that's how you get ants. And a tiny ads:
the value of filler advertising in 2020
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic