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 [EMAIL PROTECTED] [office] +01 707 773-4646 [mobile] +01 707 529 9194
