How can I find the content type of the file when user uploads it using java servlets?
Whenever a user u开发者_运维百科ploads a file I need to know the file's content type using java servlets.
When you get a file from an upload, get its type via http://www.rgagnon.com/javadetails/java-0487.html .
精彩评论