tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "anto paul" <antopa...@hotmail.com>
Subject Re: Poblem with PDF and Tomcat 4.1.18
Date Sat, 17 May 2003 10:50:56 GMT
I tried the "inline" content-type but no use of it.
----- Original Message -----
From: "Elankath, Tarun (Cognizant)" <ETarun@blr.cognizant.com>
To: "Tomcat Users List" <tomcat-user@jakarta.apache.org>
Sent: Friday, May 16, 2003 11:13 AM
Subject: RE: Poblem with PDF and Tomcat 4.1.18


You _must_ set _both_ content-type and content-disposition in order for the
pdf to display. I found that out the hard way. Content-Disposition can be
set to inline or attachment.
For more information see
http://www.javaworld.com/javaworld/javatips/jw-javatip94.html
Rgds,
Tarun

-----Original Message-----
From: anto paul [mailto:antopault@hotmail.com]
Sent: Friday, May 16, 2003 1:34 AM
To: Tomcat Users List
Subject: Re: Poblem with PDF and Tomcat 4.1.18


the content type is set as "application/pdf". I want to open the PDF file in
anew window for the user to take print out when the Print button is clicked.
----- Original Message -----
From: "Collins, Jim" <jim.collins@uk.nomura.com>
To: "'Tomcat Users List'" <tomcat-user@jakarta.apache.org>
Sent: Thursday, May 15, 2003 9:29 PM
Subject: RE: Poblem with PDF and Tomcat 4.1.18


> Did you set the content type to application/pdf? If you still get the
> problem after setting the content type try setting the content
disposition.
> Another thing you can try is open acrobat reader standalone and then try
and
> view the pdf from the browser.
>
> Regards
>
> Jim.
>
> > -----Original Message-----
> > From: anto paul [mailto:antopault@hotmail.com]
> > Sent: 15 May 2003 16:50
> > To: Tomcat Users List
> > Subject: Re: Poblem with PDF and Tomcat 4.1.18
> >
> >
> > Thanks for the reply. I think there is some problem with
> > Tomcat also. I
> > tested the same servlet with Tomcat standalone 4.0.2 on
> > Windows NT Server
> > with the same browser and the PDF file is displayed . But the
> > servlet is
> > called three times.
> > ----- Original Message -----
> > From: "John Turner" <tomcat-user@johnturner.com>
> > To: "Tomcat Users List" <tomcat-user@jakarta.apache.org>
> > Sent: Thursday, May 15, 2003 7:29 PM
> > Subject: Re: Poblem with PDF and Tomcat 4.1.18
> >
> >
> > >
> > > As an aside, check it with Mozilla and/or Opera.  My guess
> > is, it will
> > work
> > > fine.
> > >
> > > John
> > >
> > > On Thu, 15 May 2003 19:25:25 +0530, anto paul
> > <antopault@hotmail.com>
> > > wrote:
> > >
> > > > Hi,
> > > > Is there any known problems with Tomcat 4.1.18 standalone
> > in serving
> > > > dynamically generated PDF files ?. I am using IE 5.0 and
> > IE 5.0. The PDF
> > > > file is generated in a servlet using JasperReports
> > reporting engine.
> > > > Instead
> > > > of displaying the file IE 5 displays a small icon on left hand top
> > corner
> > > > and when it is clicked it says that no viewer the object trying to
> > > > open.It
> > > > also says that the content type is
> > text/html;charst=ISO-8859-1.  The
> > > > windows
> > > > task manager shows no acrobat process is running. While a sample
> > > > application
> > > > provided with JasperReports is working fine with same server and
> > browser.
> > > > I
> > > > also noticed that the servlet is invoked two times. I uninstalled
> > Acrobat
> > > > Reader 5.0 and installed 5.1. Still the problem persists.
> > But the PDF is
> > > > opened in IE 6.0 with Acrobat Reader 4.0. Do any one what
> > the problem is
> > > > ?
> > > >
> > > >
> > > > Anto paul
> > > >
> > > >
> > > >
> > ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> > > > For additional commands, e-mail:
> > tomcat-user-help@jakarta.apache.org
> > > >
> > > >
> > >
> > >
> > >
> > > --
> > > Using M2, Opera's revolutionary e-mail client:
> http://www.opera.com/m2/
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>
>
> PLEASE READ: The information contained in this email is confidential
> and intended for the named recipient(s) only. If you are not an intended
> recipient of this email you must not copy, distribute or take any
> further action in reliance on it and you should delete it and notify the
> sender immediately. Email is not a secure method of communication and
> Nomura International plc cannot accept responsibility for the accuracy
> or completeness of this message or any attachment(s). Please examine this
> email for virus infection, for which Nomura International plc accepts
> no responsibility. If verification of this email is sought then please
> request a hard copy. Unless otherwise stated any views or opinions
> presented are solely those of the author and do not represent those of
> Nomura International plc. This email is intended for informational
> purposes only and is not a solicitation or offer to buy or sell
> securities or related financial instruments. Nomura International plc is
> regulated by the Financial Services Authority and is a member of the
> London Stock Exchange.
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org




----------------------------------------------------------------------------
----


> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message