Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Tomcat Users »

Tomcat 4.1 MIME Type from web.xml

Lukas Bradley

2003-09-16

Replies:

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






---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)


©2008 junlu.com - Jax Systems, LLC, U.S.A.