tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lukas Bradley" <lu...@somnia.com>
Subject Tomcat 4.1 MIME Type from web.xml
Date Tue, 16 Sep 2003 15:54:12 GMT
In Tomcat 5.0 beta, there is a class MimeMap offering the following method:
public String getContentType(String extn) {...}

Is there a corresponding method within the Tomcat 4.1 framework?  I would
like to determine a file's MIME type as specified within the web.xml
document.

Thanks

Lukas






Mime
View raw message