Solved

MySQL picture

Posted on 2004-04-27
4
493 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

This article was originally published on Monitis Blog, you can check it  here .   Some years back, I worked as the CTO.  During my tenure, I had a head of IT support reporting to me.  He did his job quite well and had a commendable sense of duty…
In order to fulfill our mission of inspiring learning in the technology community, Experts Exchange is launching a Course of the Month program. Premium and Team Account members will have access to one course per month as a part of their membership, …
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

726 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