cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Derek Hohls" <DHo...@csir.co.za>
Subject Re: pdf output in IE
Date Thu, 21 Oct 2004 10:03:24 GMT
Gunter

No, the issue here is not Cocoon but "broken browsers".
Since the browser concerned is used by nearly 80% of
users then one is forced to adopt these kinds of workarounds...
unless you know of some way to "make" them all use Firefox
or Opera?

;-)
Derek

>>> gunter.dhondt@sofico.be 2004/10/21 11:56:17 AM >>>
That's what I'm also doing but was just wondering if Cocoon has some 
workaround since Cocoon doesn't force you into using file extensions in

your URIs...
they might just advise to use Mozilla instead of IE
Gunter




"Derek Hohls" <DHohls@csir.co.za> 
21-10-2004 11:46
Please respond to
users@cocoon.apache.org 


To
<users@cocoon.apache.org>
cc

Subject
Re: pdf output in IE






Gunter

I have always just add the ".pdf" to the URI that Cocoon uses;
remember this URI is the one thing that *is* under your control ... 
unless there is some really unavoidable reason to use "report"
and not "report.pdf" then this is the simplest and most
hassle-free way to go.

Derek

>>> gunter.dhondt@sofico.be 2004/10/20 04:12:03 PM >>>
When using a plain servlet or jsp and outputting PDF (and setting the 
response content type to pdf) and reading that in IE (not Mozilla, NS,
... 
) a lot of problems can occur; this is becourse IE looks for the file 
extension to see which content type he should use (and not the http 
headers).
I was just wondering how this is done with Cocoon if your URL is for 
example "report" (so definitely without an extension) and in the
sitemap 
you are using a reader to get the pdf from the filesystem and setting
the 
content type to pdf.
has Cocoon some workaround for this or does it have the same problem?
Regards,
Gunter

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.


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



-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.


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


Mime
View raw message