473,569 Members | 2,789 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

problem with pdf serializing under cocoon 2.1.4

hi,

i got a little problem with pdf-serializing after updating from
cocoon 2.1.2 to 2.1.4.

following scenario:
- using serializer org.apache.coco on.serializatio n.FOPSerializer , with
name fo2pdf and mime-type application/pdf
- using it in

<map:match pattern="*/**/content.pdf">
<map:generate ... />
<map:transfor m src="templates/fo/standard.xsl" />
<map:serializ e type="fo2pdf" />
</map:match>

so far, no problem because the document is delivered correctly with
firefox - but in IE, the pdf is not displayed. first he shouts
file is of unknown type - i opened it anyway - then he shouts
document could not be sent...

i tried to figure out what it is realy all about, but
even the sample of the cocoon project didn't work with
IE, http://localhost:8888/samples/fop/hello.pdf

so does anyone has an idea what is wrong - maybe an
installation problem

thanks a lot for information

further information:
- IE version: 6.0.2800.1106 under winXP
- HTTP Header of request-answer under firefox

GET http://..../content.pdf HTTP/1.1
Host: 127.0.0.1
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de-DE; rv:1.6)
Gecko/20040206 Firefox/0.8
Accept: application/x-shockwave-flash,text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,vid eo/x-mng,image/png,image/jpeg,image/gif;q=0.2,*/*;q=0.1
Accept-Language: de-DE,de;q=0.8,en-us;q=0.5,en;q=0 .3
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive

HTTP/1.x 200 OK
X-Cocoon-Version: 2.1.4
Vary: Host, Host, Host, Host, Host, Host, Host, Host, Host, Host,
Host, Host, Host, Host, Host, Host, Host, Host, Host, Host, Host, Host
Content-Type: application/pdf
Content-Length: 7454
Date: Mon, 29 Mar 2004 17:15:04 GMT
Server: Apache-Coyote/1.1

on my local installation the Vary entry does not exist, so
maybe it depends on this, i don't know...

greetings,
MicFra
Jul 17 '05 #1
0 1442

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1777
by: Adam | last post by:
Hi! I'm trying to do a login form in cocoon. Login data are taken from MySQL, but before the data are checked cocoon throws such an error: org.apache.cocoon.ResourceNotFoundException: Resource not found.: org.apache.excalibur.source.SourceNotFoundException: file:/F:/Program Files/Apache Software Foundation/Tomcat...
1
2047
by: Jawahar | last post by:
Hi All.. Currently in our application, we are using Serlvet as Controller,Jsp to View,BusinessLogic in EJB. We planned to implement Cocoon frame work in our existing application. Is this Possible..? I already worked on sample xml,xslt,but i need an example where servlet or JSP would call Cocoon application to display it in the browser.
6
4811
by: Jeremy | last post by:
My requirements are very simple: When a user browses to an XML document, the server should parse the document, apply its stylesheet, and spit the HTML at the client. Apache Cocoon is a slow, bloated mess that is impossible to configure and it is just not right at all for this purpose. I have no interest whatsoever in servlets, all I need is...
0
1715
by: wai | last post by:
hi all, i running cocoon 2.1.1 with websphere 5, i have a problem related to xsp cinclude. everything after my first cinclude statement, it become bank. i been tested the cocoon cinclude sample code, it working fine in tomcat, but not websphere. any ideas?
4
7848
by: fis | last post by:
Hi all, I've problem because there are needed break lines in my texts on the web site but i can't do it :( My pipeline looks like: XMS -> I18N -> XSLT -> HTML I have lot of texts in my "languages" files and these are describes for things on my website. Example text looks like this:
0
1685
by: Per-Christian Engdal | last post by:
Hi, I have built a cocoon.war file, and deployed it on my BEA Weblogic 8.1 Sp2 (Windows 2000) installation. The deployment works without exceptions, but when I try to access cocoon through http://localhost:80/cocoon I get the following error message (stack trace): java.lang.NoClassDefFoundError: org/apache/log/Logger at...
2
1645
by: rozwel | last post by:
Hi, I'm currently starting a CMS project based on XML-related technologies and I want to use an XML framework as the basis of my architecture. I found two open source project that could fit my needs : Apache Cocoon and Orbeon PresentationServer. They seem pretty equivalent in terms of what they can do (as much as I can figure it out from...
3
1482
by: Dennis Benzinger | last post by:
Hi! Is there a Python web publishing framework like Cocoon? I found Maki <http://maki.sourceforge.net/> but it was last updated in 2003 and its author says that he doesn't want to make another release... Bye, Dennis
0
1362
by: Hugh Field-Richards | last post by:
Hi This was original posted only on the Cocoon Users Group last year but Paloose is now reasonably mature enough for exposure on this forum. Paloose is a simplified (much simplified) version of Cocoon using PHP5. Cocoon is a means of building Web Sites using a pipelined XML/XSLT/CSS approach based on sitemaps. I have used Cocoon for
0
7697
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7612
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7924
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
8120
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
0
7968
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
3653
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3640
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2113
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1212
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.