Good morning, the Problem is, that i need to get the content-type from the DataHandler-Object, as the method should be an image-upload that should support various image-types like gif, png, jpeg and so on. The next idea I have, is rerender the image on the server to jpeg using ImageMagicks "convert" and delete the source image afterwards. But I think it must be possible to get the content-type or at least the original filename from the DataHandler-Object.
Maybe you can tell me, how to get the ByteArrayDataSource out of the DataHander-Object? Thanks a lot!