cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Benoff" <dben...@covad.net>
Subject RE: Mime type not getting set for fo2pdf serialization
Date Mon, 06 Oct 2003 14:22:42 GMT
Thanks very much for the tips Antonio.  Actually, on my setup the
transformation explicitly bombs out with an exception if Batik isn't in
the path.  Anyway, I wound up resolving the issue by calling
response.setContentType("application/pdf"); within my business class
before forwarding to cocoon.  I have no idea why I can't just rely on
the fo2pdf serializer to set the mime type, but, hey, it works.

Thanks again,
David Benoff

-----Original Message-----
From: Antonio Gallardo [mailto:agallardo@agsoftware.dnsalias.com] 
Sent: Sunday, October 05, 2003 10:46 PM
To: users@cocoon.apache.org
Subject: Re: Mime type not getting set for fo2pdf serialization

David Benoff dijo:

Hi David:

I am back, to provide you another tip ;)

FOP block depends on Batik block. Do you have Batik block included in
your
Cocoon build? If not, then you don't got any error but it simply does
not
work.

Best Regards,

Antonio Gallardo




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


---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.515 / Virus Database: 313 - Release Date: 9/1/2003
 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.515 / Virus Database: 313 - Release Date: 9/1/2003
 


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


Mime
View raw message