If you want to read and store the file somewhere (may be in DB) then just read it as any binary file (using InputStream or BufferedInputSTream or FileInputStream) and save it as binary data.
If you want to read the images and display them on a console, then please refer AWT/Swing image handling feature. Google for these topics.
If you want to display/download it via a web browser- then most probably setting the correct MIME type on your server's response contents before sending the data should do the trick. Most popular web browsers understand JPEG and GIF and I guess IE understands BMP too perhaps (?)