Solved

MySQL picture

Posted on 2004-04-27
4
492 Views
Last Modified: 2008-03-06
Would it be possible to store images in a mySQL database or store the path of where the image is and use that path to display an image using jsp?
0
Comment
Question by:Raftor
  • 2
4 Comments
 
LVL 35

Expert Comment

by:TimYates
ID: 10926631
0
 
LVL 35

Accepted Solution

by:
TimYates earned 30 total points
ID: 10926636
I'd store the picture on the disk (somewhere accessable to the webapplication), and the location of the picture in the database...

But it is possible to store the images in the database, as the second URL shows :-)
0
 
LVL 27

Expert Comment

by:rrz
ID: 10934462
0
 
LVL 1

Expert Comment

by:applejuice
ID: 10936790
i use jspSmartUpload. Pictures are uploaded to database and stored in blob field. jsp page displays image from database and is used as src of img tag in other jsp pages.
0

Featured Post

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

This article describes my battle tested process for setting up delegation. I use this process anywhere that I need to setup delegation. In the article I will show how it applies to Active Directory
There's a lot of hype surrounding blockchain technology. Here's how it works and some of the novel ways it' s now being used - including for data protection.
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

837 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question