Re: gif/jpeg images

1999-10-07 Thread Carsten Heyl
Hi everybody! Can I write a Java Bean to load an Image (gif/jpeg) from = disk (using FileInputStream) and displaying it onto the screen?? Yes you can. Just set content type of jsp page to "image/gif", make sure the jsp page does not print anything else and let the bean write the file to out.

Re: gif/jpeg images

1999-10-07 Thread Colin Wilson-Salt
But this really isn't the kind of thing that you should use JSP for. A servlet can be written to do this in a much nicer way in only about 10 lines of code. Carsten Heyl wrote: Hi everybody! Can I write a Java Bean to load an Image (gif/jpeg) from = disk (using FileInputStream) and

gif/jpeg images

1999-10-06 Thread Marcello Soffritti
Hi everybody! Can I write a Java Bean to load an Image (gif/jpeg) from disk (using FileInputStream) and displaying it onto the screen?? Many thanks in advance, Marcello.