jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sébastien Launay <sebastien.lau...@anyware-tech.com>
Subject Re: problem with .doc and .xls mimetype
Date Fri, 11 Sep 2009 15:35:14 GMT
Hi Gary,

This is clearly not a Jackrabbit related problem.
But you can find more information here [1].

Note that using sun.net.www.MimeTable is specific to Sun
Java implementation and therefore can be dropped in a
JVM update, but more importantly it will not be supported
in other Java implementations.

[1] http://www.rgagnon.com/javadetails/java-0487.html

--
Sébastien Launay

Le 11/09/2009 17:01, Gary Long a écrit :
> Hi :)
>
> i have a problem with the function MimeTable.getContentTypeFor(file). It
> doesn't work with .doc files (and other microsoft Office documents). the
> function return the default mimetype -> application/octet-stream.
> It looks like there is no reference to .doc mimetype in the mimetable :/ 
>
> Can you help me please? 
>
> thanks :)

Mime
View raw message