javax.servlet.ServletContext.getMimeType(String Filename)
http://java.sun.com/products/servlet/2.1/api/javax.servlet.ServletContext.ht
ml#getMimeType(javax.servlet.String)
(note the weird classname javax.servlet.String in the URL above -- JavaDoc
must have a bug)
LT
At 11:20 AM 12/8/1999 +0530, you wrote:
> Hello all, Is there any class in java, that can tell me the mime type
>if i give it the file name. I need to specify this for the
>response.setContentType()...for client side file downloading. Thanks all
>! Gautam
--
The nice thing about being a cynic is that I enjoy being wrong.
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html