Solved

MySQL picture

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Fisheye tool 2 111
SimpleDateFormat.parse examples 19 94
How to Make JSP Pages Responsive ? details are below 3 765
null output 3 25
An article on effective troubleshooting
Each year, investment in cloud platforms grows more than 20% (https://www.immun.io/hubfs/Immunio_2016/Content/Marketing/Cloud-Security-Report-2016.pdf?submissionGuid=a8d80a00-6fee-4b85-81db-a4e28f681762) as an increasing number of companies begin to…
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
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.

809 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