Solved

MySQL picture

Posted on 2004-04-27
4
488 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Microsoft Office Picture Manager was included in Office 2003, 2007, and 2010, but not in Office 2013. Users had hopes that it would be in Office 2016/Office 365, but it is not. Fortunately, the same zero-cost technique that works to install it with …
With the rapid rise in mobile usage, mobile devices are here to stay and have become an integral part of doing business. Here are 9 great apps for your BYOD environment.
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
As a trusted technology advisor to your customers you are likely getting the daily question of, ‘should I put this in the cloud?’ As customer demands for cloud services increases, companies will see a shift from traditional buying patterns to new…

867 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

16 Experts available now in Live!

Get 1:1 Help Now