my dog learned polymorphism
The moose likes JDBC and Relational Databases and the fly likes images in database Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "images in database" Watch "images in database" New topic

images in database

modesty brenin

Joined: Dec 21, 2009
Posts: 7
i am creating project in servlet and jsp which i'm be embedding images of size of thumbnail.
would it be better idea to save images in database ooor path.
Jeanne Boyarsky
author & internet detective

Joined: May 26, 2003
Posts: 32819

Welcome to JavaRanch!

It depends on how the images will be used. If they are largely for display, I recommend keeping them on the file system. Until HTML5 is widely used in which case, they can just stream as part of the page.

[OCA 8 book] [Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Other Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, TOGAF part 1 and part 2
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63548

"modesty aqua", please check your private messages for an important administrative matter.

[Asking smart questions] [About Bear] [Books by Bear]
I agree. Here's the link:
subject: images in database
It's not a secret anymore!