Solved

MySQL picture

Posted on 2004-04-27
4
487 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
Comment Utility
0
 
LVL 35

Accepted Solution

by:
TimYates earned 30 total points
Comment Utility
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
Comment Utility
0
 
LVL 1

Expert Comment

by:applejuice
Comment Utility
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

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

Learn to move / copy / export exchange contacts to iPhone without using any software. Also see the issues in configuration of exchange with iPhone to migrate contacts.
HOW TO: Upload an ISO image to a VMware datastore for use with VMware vSphere Hypervisor 6.5 (ESXi 6.5) using the vSphere Host Client, and checking its MD5 checksum signature is correct.  It's a good idea to compare checksums, because many installat…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

771 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now