How to store and retrieve image from database in JSP?

Ads
Ads

How to store and retrieve image from database in JSP?


Java Coder
How to store and retrieve image from database in JSP?
1 Answer(s)      a year ago
Posted in : JSP-Interview Questions
Ads

Hi,

In one of my application I have to store and then display the image in JSP.

How to store and retrieve image from database in JSP?

Thanks

View Answers

April 22, 2017 at 3:01 PM


HI,

You can use one program to insert image into database. Check the tutorial:

Uploading Employee Profile with image.

Now write another program to download and display the image. Check this example:

Retrieve image from database using Servlet.

Thanks


Ads









Related Tutorials/Questions & Answers:
Advertisements