Hi,

I'm trying to generate PDF document from JSP, using itext library.
 (http://www.lowagie.com/iText/)  

I set contentType attribute to get browser open AdobeReader, and
pageEncoding to get right encoding for Japanese characters,

<%@ page contentType="application/pdf" pageEncoding="Shift_JIS" %>

Jasper translates this line to;

response.setContentType("application/pdf;charset=Shift_JIS");

I want to set response type to look like PDF without any 
particular encoding, and to tell Jasper that my source 
encoded with "Shift_JIS", because IE does not recognize 
the contentType if charset option is added.

My question is:
1. Why Jasper adds charset option when I specify pageEncoding attribute?
2. Can I make Jasper not to add charset option when I use pageEncoding?

I posted same question to tomcat-user ML, then I was suggested to post 
this question to tomcat-dev list.

This is my first message to this list.
Thanks you.
--
seiji takegata
[EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to