>>> "Anthony W. Marino" <[EMAIL PROTECTED]> 06-May-01 8:45:14 PM
>>>
>"con.getContentType()" doesn't work for me,
>however,
>"getServletContext().getMimeType(req.getPathTranslated())"
>does.
Yes, As I explained before certain implementations of
FileURLConnection don't provide the getContentType().
If you're using Tomcat you can easily check the source code for it to
establish that.
Nic
___________________________________________________________________________
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