I invok the getContext.getServletContext().getMimeType(String fileName) can simply checking the extension of the file user try to upload, that is enough for my system, and I read about the mime-util, it is great, Thanks, Levi!
And also, Oscar's reply make me know more about the MIME type, Thank you, Oscar! -- View this message in context: http://www.nabble.com/problem-of-Rar-file-uploading-tp22019914p22022363.html Sent from the stripes-users mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Stripes-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/stripes-users
