aspose file tools*
The moose likes JSP and the fly likes How can i display image .bmp in a JSP !!! Thanks !!! Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "How can i display image .bmp in a JSP !!! Thanks !!!" Watch "How can i display image .bmp in a JSP !!! Thanks !!!" New topic
Author

How can i display image .bmp in a JSP !!! Thanks !!!

mebarkia med
Greenhorn

Joined: Apr 04, 2004
Posts: 5
Hi,
I'm saving image files .bmp in the database I'm using SQL Server and Access. Then, I have to retrieve this file and show the image in a JSP.
How can I do this?
Thanks
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61761
    
  67

Convert it to a JPG or GIF file before saving it to the db. BMP is a Windows-proprietary format (and a hideously inefficient one at that) that is not a native web format.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
mebarkia med
Greenhorn

Joined: Apr 04, 2004
Posts: 5
but i have +5000 images .BMP in may database.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How can i display image .bmp in a JSP !!! Thanks !!!