cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Timberlake <and...@timberlake.co.za>
Subject Re: IE not displaying static PDF files properly?
Date Thu, 13 Feb 2003 13:54:42 GMT
Derek

I believe the mime type is incorrect and should be application/pdf
instead of text/pdf

Andrew

On Thu, 2003-02-13 at 15:48, Derek Hohls wrote:
> I am not sure what the source of this error is,
> but instead of static PDF files served by Cocoon
> being processed and displayed by the Adobe plug-in, 
> I get the 'raw' data.
>  
> The relevant portion of the site map is:
>  
> <map:match pattern="mng/archive/*.pdf">
>     <map:read src="protected/archive/{1}.pdf" mime-type="text/pdf"/>
> </map:match> 
>  
> Any suggestions on how to "make it work"?
>  
> Thanks
> Derek
> -- 
> This message has been scanned for viruses and dangerous content by 
> MailScanner, and is believed to be clean. 
> 
> "The CSIR exercises no editorial control over E-mail messages and/or 
> attachments thereto/links referred to therein originating in the 
> organisation and the views in this message/attachments thereto are 
> therefore not necessarily those of the CSIR and/or its employees. 
> The sender of this e-mail is, moreover, in terms of the CSIR's
> Conditions 
> of Service, subject to compliance with the CSIR's internal E-mail and 
> Internet Policy."
-- 
Andrew
------------------------------------------------------------
I have never let my schooling interfere with my education.
						--Mark Twain


---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>


Mime
View raw message