This content has been marked as final.
Show 1 reply
-
1. Re: rich:fileupload and content type
radar.marco.detoni.nextep.it Aug 17, 2009 11:28 AM (in response to radar.marco.detoni.nextep.it)Hi,
As workaround I obtain the content type usingjavax.activation.MimetypesFileTypeMap().getContentType(name)
where name is
UploadItem item = event.getUploadItem(); String name = item.getFileName();
Regards
MDT