hello
I use primefaces and I want to download a file with different formats(pdf, jpg, png, ) from database but I don't succed to realise this I have seen a lot of topic like this but their methods don't work for me here is the html :
and here is the
java :
always, image.getContentType() return null and bytes.length not null
do you have any idea
thank you