hi all, I have written a JSP/Servlet application in windows environment. This application has to show .bmp images. I wanted to know -is it possible for me to run this application on Linux platform and will .bmp image open properly in JSP/Servlet application running on Linux platform. I am new to LInux,So please be generous to help me . Thanks in advance.
BMP is not one of the image formats supported by all browsers; use PNG instead. If you can't (or don't want to) convert the images outside of the web app, or make copies of them in PNG, have a look at the javax.imageio.ImageIO class. Its read and write methods make reading an image file into memory, and then saving it to a stream (e.g. a servlet's OutputStream), very easy.