commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Richard HALLIER" <>
Subject [COMMONS-UPLOAD] Mime-type detection
Date Tue, 25 Oct 2005 16:16:37 GMT
Hi all,
I have some problems by filtering the files the user can upload in my
webapp. I'd like to restrict the files to the flash videos (extension .flv),
so I disallow the files whose the mime-type is different from video/x-flv.
The problem is Commons-upload gives me the wrong mime-type :
Ok, so I added the mime-mapping my web.xml  :

Nothing changes ....
Can someone give me some pointers ????
Thank you.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message