0

In my website, i want to accept photos from users(through HTML page) and save them to database(MS SQL)
Can you please tell me, how can i do so?

Also tell me how to retrieve those photos back from database to HTML page or JSP.

Thank you.

2
Contributors
3
Replies
4
Views
9 Years
Discussion Span
Last Post by ~s.o.s~
0

Use the Apache commons upload library to ease the task of image uploading. Once you get hold of the image, store it in the database as a BLOB (Binary Large Object). and retrieve it back as a stream of bytes which can be used for recreating the image. Maybe this article will get things moving for you.

0

Thank you.
Your reply was of great help to me.
Thanks again.

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.