How to store and retrieve image from database in JSP?

 
 

Share on Google+Share on Google+

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

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

Ads
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

Ads

 
Advertisement null

Ads