Hi
> >Maybe you should query tomcat-dev list about how (and if you really
> > need) to override Jasper's behaviour on inserting "pageEncoding" value
> > into Content-Type header.
> >
In tomcat-dev list, they say "IT'S SPEC." that's it.
I've learned that "If you don't like it, shut up and
Hi,Antonio
Thank you for your reply.
Here is my whole jsp code. It is OK except that I want:
response.setContentType("application/pdf);
rather than:
response.setContentType("application/pdf;charset=Shift_JIS");
(I'm looking into .java in tomcat work directory which jasper generates.)
<%@ page
What are you using to make the PDF content slip into the wire?
If you are using a "Writer" you get from response.getWriter(), you may
have interest in trying to use the "OutputStream", as in
response.getOutputStream().
This is what the description of the getWriter method says: Returns a
print
On 2004.4.19, at 10:02 PM, Veniamin Fichin wrote:
seiji takegata wrote:
Try this:
<%@ page contentType="application/pdf; charset=ISO-8859-1"
pageEncoding="Shift_JIS" %>
I tried. This time jasper generates:
response.setContentType("application/pdf; charset=ISO-8859-1");
OK, and wit
seiji takegata wrote:
Try this:
<%@ page contentType="application/pdf; charset=ISO-8859-1"
pageEncoding="Shift_JIS" %>
I tried. This time jasper generates:
response.setContentType("application/pdf; charset=ISO-8859-1");
OK, and with that you still can't get PDF right?
Maybe you
Hi,
> seiji takegata wrote:
>
> > Hi Veniamin,
> > Thank you for your reply.
> >
> >>What it means "character is not encoded correctly"? If PDF content
> >>is unreadable, then that's PDF file problem, not Tomcat. Is this PDF
> >>opens correctly by itself, i.e. when you open it through Adob
seiji takegata wrote:
Hi Veniamin,
Thank you for your reply.
What it means "character is not encoded correctly"? If PDF content
is unreadable, then that's PDF file problem, not Tomcat. Is this PDF
opens correctly by itself, i.e. when you open it through Adobe Reader?
Anyway, just do respon
Hi Veniamin,
Thank you for your reply.
> What it means "character is not encoded correctly"? If PDF content
> is unreadable, then that's PDF file problem, not Tomcat. Is this PDF
> opens correctly by itself, i.e. when you open it through Adobe Reader?
> Anyway, just do response.setConten
Hello Seiji.
What it means "character is not encoded correctly"? If PDF content
is unreadable, then that's PDF file problem, not Tomcat. Is this PDF
opens correctly by itself, i.e. when you open it through Adobe Reader?
Anyway, just do response.setContentType("application/pdf") and let
br
Hi.
I'm trying to generate PDF document directory from JSP using
itext library. I have an encoding problem.
I put pageEncoding and contentType attributes in page directive
as:
<%@ page contentType="application/pdf"%>
<%@ page pageEncoding="Shift_JIS"%>
Then tomcat (or jasper) translates them
10 matches
Mail list logo