Two Laptop Bag*
The moose likes JDBC and the fly likes images in database Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Bookmark "images in database" Watch "images in database" New topic
Author

images in database

modesty brenin
Greenhorn

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
internet detective
Marshal

Joined: May 26, 2003
Posts: 30116
    
149

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.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60780
    
  65

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


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
 
subject: images in database
 
Similar Threads
Help to insert/retreive image from database
Keeping an image in database
Direct way to store images
How can i display image .bmp in a JSP !!! Thanks !!!
get image from database