incubator-graffito-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Sean Taylor <da...@bluesunrise.com>
Subject Re: document type mappings
Date Wed, 13 Apr 2005 21:23:46 GMT
Christophe Lombart wrote:
> David Sean Taylor wrote:
> 
>> Has anyone implemented a formal way to map from file extensions to 
>> MIME media types? I find myself writing this kind of code in the 
>> Graffito document viewer portlet, but Im sure its been done before....
>>
> 
> Extracted from Slide :
> 

that list more than covers my needs, thanks!

So if I add these mappings to Jetspeed's servlet web.xml, then 
PortletContext.getMimeType should return the correct mapping, in theory...


-- 
David Sean Taylor
Bluesunrise Software
david@bluesunrise.com
[office] +01 707 773-4646
[mobile] +01 707 529 9194

Mime
View raw message