Hello, Suppose I get an inputstream from a web form. 1. How can I check that I have an image and not another type of binary file? 2. How do I know what type of image I have (jpg, or gif)? Thanks in advance, Julien.
posted 11 years ago
This piece of code might be useful: from java almanac