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 :
application/octet-stream
Ok, so I added the mime-mapping my web.xml :
<mime-mapping>
<extension>flv</extension>
<mime-type>video/x-flv</mime-type>
</mime-mapping>
Nothing changes ....
Can someone give me some pointers ????
Thank you.
R.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]