Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@apache.org Received: (qmail 63331 invoked from network); 17 May 2003 10:50:14 -0000 Received: from exchange.sun.com (192.18.33.10) by daedalus.apache.org with SMTP; 17 May 2003 10:50:14 -0000 Received: (qmail 9036 invoked by uid 97); 17 May 2003 10:52:19 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-user@nagoya.betaversion.org Received: (qmail 9029 invoked from network); 17 May 2003 10:52:19 -0000 Received: from daedalus.apache.org (HELO apache.org) (208.185.179.12) by nagoya.betaversion.org with SMTP; 17 May 2003 10:52:19 -0000 Received: (qmail 61828 invoked by uid 500); 17 May 2003 10:50:00 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Users List" Reply-To: "Tomcat Users List" Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 61817 invoked from network); 17 May 2003 10:50:00 -0000 Received: from bay1-dav22.bay1.hotmail.com (HELO hotmail.com) (65.54.244.79) by daedalus.apache.org with SMTP; 17 May 2003 10:50:00 -0000 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Sat, 17 May 2003 03:50:00 -0700 Received: from 61.11.75.221 by bay1-dav22.bay1.hotmail.com with DAV; Sat, 17 May 2003 10:50:00 +0000 X-Originating-IP: [61.11.75.221] X-Originating-Email: [antopault@hotmail.com] From: "anto paul" To: "Tomcat Users List" References: Subject: Re: Poblem with PDF and Tomcat 4.1.18 Date: Sat, 17 May 2003 16:20:56 +0530 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6600 X-MIMEOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 Message-ID: X-OriginalArrivalTime: 17 May 2003 10:50:00.0657 (UTC) FILETIME=[108D3C10:01C31C62] X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N I tried the "inline" content-type but no use of it. ----- Original Message ----- From: "Elankath, Tarun (Cognizant)" To: "Tomcat Users List" 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" To: "'Tomcat Users List'" 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" > > To: "Tomcat Users List" > > 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 > > > > > 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