views:

11

answers:

1

whenever user uploads the file i need to know the file content type using servlets

+1  A: 

When you get a file from an upload, get its type via http://www.rgagnon.com/javadetails/java-0487.html .

Borealid
lets check it suites me and thanks
Anbu