File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Uploading an image

 
vijaya soft
Greenhorn
Posts: 12
  • 0
  • 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.
 
Malhar Barai
Author
Ranch Hand
Posts: 399
  • 0
  • 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
  • 0
  • 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.
 
Andres Gonzalez
Ranch Hand
Posts: 1561
  • 0
  • 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..
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic