Win a copy of Escape Velocity: Better Metrics for Agile Teams this week in the Agile and Other Processes forum!
  • 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
  • Liutauras Vilda
  • Tim Cooke
  • Paul Clapham
  • Jeanne Boyarsky
Sheriffs:
  • Ron McLeod
  • Frank Carver
  • Junilu Lacar
Saloon Keepers:
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Al Hobbs
  • Carey Brown
Bartenders:
  • Piet Souris
  • Frits Walraven
  • fred rosenberger

Uploading an image

 
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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..
 
We're all out of roofs. But we still have tiny ads:
Garden Master Course kickstarter
https://coderanch.com/t/754577/Garden-Master-kickstarter
reply
    Bookmark Topic Watch Topic
  • New Topic