The [url=http://java.sun.com/j2se/1.5.0/docs/api/java/io/package-summary.html]java.io API[/url] ([url=http://java.sun.com/docs/books/tutorial/essential/io/]tutorials here[/url]) provides useful functionality at file level.
Check out the ByteArrayOutputStream to convert a File to a byte array.
Whay exactly do you want to achieve? I understood that you want to load an local image and stream it to the response. But now it looks like that you want to load an remote image and stream it to the reponse? (as in: hotlinking the images).
Where is the image stored? Where should the image be sent to?