Seam 2.2.0 and JBoss 5.1
If I set the property createTempFiles as true, for each file I uploaded, the property of content type is set to
I think it is a bug because seam checks the content type of the temp file in the format of -something-.upload, that is always an application/octet-stream, instead to retreive the content type of the uploaded file.
As workaround I obtain the content type using
where name is
UploadItem item = event.getUploadItem(); String name = item.getFileName();