Re: [iText-questions] How to set the PDF file name?
Append the desired filename in the URL to the servlet like this: http://www.myserver.com/servlet/com.hello.PDFServlet/mypdf.pdf If you want the servlet to know the filename use getPathInfo() in HttpServletRequest to get everything after the name of the servlet ("/mypdf.pdf" in this case"). Regards Nicolas Ramakrishna Kuppa wrote: > Ram, > > As I mentioned in my posting, I have the disposition set to "inline" i.e., > the doc. is opened directly in the browser. This is a requirement and cant > be changed. It is in this setting that I want to get the file name > correctly. > > >>-Original Message- >>From: Ram Guttikonda [mailto:[EMAIL PROTECTED]] >>Sent: Tuesday, October 08, 2002 4:07 PM >>To: Ramakrishna Kuppa; 'Robert Badaracco'; >>[EMAIL PROTECTED] >>Subject: RE: [iText-questions] How to set the PDF file name? >> >> >>You might want to do something like this.. >> >>HttpServletResponse _hsr = _requestContext.getResponse(); >>//get the servlet response _hsr.setContentType("application/pdf"); >>String disposition = "attachment; filename=" + >filename>; _hsr.setHeader("Content-disposition", disposition); >> >> >>Hope that helps. >> >>Cheers, >>Ram. >>-Original Message- >>From: [EMAIL PROTECTED] >>[mailto:[EMAIL PROTECTED]]On Behalf >>Of Ramakrishna Kuppa >>Sent: Tuesday, October 08, 2002 1:09 PM >>To: 'Robert Badaracco'; [EMAIL PROTECTED] >>Subject: RE: [iText-questions] How to set the PDF file name? >> >> >>Bob, >> >>I generate the doc. dynamically and it opens in the (IE) >>browser directly (inline). I am NOT writing to a file. The >>problem occurs when I try to save this generated doc. >> >> >> >>>-Original Message- >>>From: Robert Badaracco [mailto:[EMAIL PROTECTED]] >>>Sent: Tuesday, October 08, 2002 1:06 PM >>>To: Ramakrishna Kuppa; [EMAIL PROTECTED] >>>Subject: Re: [iText-questions] How to set the PDF file name? >>> >>> >>>Define the path to your file as a String and then >>>declare a writer object like: >>> >>>PdfWriter writer = PdfWriter.getInstance(document, new >>>FileOutputStream(filepath)); >>> >>>Bob >>>--- Ramakrishna Kuppa <[EMAIL PROTECTED]> >>>wrote: >>> I am able to generate the file properly. However, when I try to save it using the "Save" button, the filename that appears is the long query string related to my generation servlet. How can I set the filename properly? Thanks Ramakrishna >>> >>>--- >>> This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ iText-questions mailing list [EMAIL PROTECTED] >>> >>>https://lists.sourceforge.net/lists/listinfo/itext-questions >>> >>> >>>__ >>>Do you Yahoo!? >>>Faith Hill - Exclusive Performances, Videos & More >> >>http://faith.yahoo.com >> >> >>--- >>This sf.net email is sponsored by:ThinkGeek >>Welcome to geek heaven. >>http://thinkgeek.com/sf >>___ >>iText-questions mailing list [EMAIL PROTECTED] >>https://lists.sourceforge.net/lists/listinfo/itext-questions >> > > > > --- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > ___ > iText-questions mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/itext-questions --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ iText-questions mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/itext-questions
Re: [iText-questions] UnknownHostException
Remove the reference to the dtd located at www.lowagie.com from Chap0701.xml or download it locally. Regards Nicolas Ganivet Jean Yves wrote: > > >>Hello all, >> >>i am trying to parse an xml file in a servlet an get the result as a pdf >>in the browser. >>The file i'm trying to parse is "Chap0701.xml" from examples. >>I tried two solutions to parse the file but each one gives an >>"UnknownHostException : www.lowagie.com" >>Here is the code of my doGet method: >> >> >>public void doGet(HttpServletRequest request, HttpServletResponse >>response) throws ServletException, IOException { >>try { >>// create simple doc and write to a ByteArrayOutputStream >>Document document = new Document(); >>ByteArrayOutputStream baos = new ByteArrayOutputStream(); >>PdfWriter.getInstance(document, baos); >> >>//XmlParser.parse(document, >>"E:\\projet\\DarwinRepository\\src\\web\\Chap0701.xml"); >>SAXParser parser = >>SAXParserFactory.newInstance().newSAXParser(); >> >>parser.parse("E:\\projet\\DarwinRepository\\src\\web\\Chap0701.xml", new >>SAXiTextHandler(document)); >> >>// write ByteArrayOutputStream to the ServletOutputStream >>response.setContentType("application/pdf"); >>response.setContentLength(baos.size()); >>ServletOutputStream out = response.getOutputStream(); >>baos.writeTo(out); >>out.flush(); >> >>} >>catch (Exception e2) { >>System.out.println("Error in >>"+getClass().getName()+"\n"+e2+"\n\n"); >>e2.printStackTrace(); >>} >>} >> >>If you have any idea it would be great. >>Thank's in advance, >>Jyves >> >> > > > >--- >This sf.net email is sponsored by: OSDN - Tired of that same old >cell phone? Get a new here for FREE! >https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390 >___ >iText-questions mailing list >[EMAIL PROTECTED] >https://lists.sourceforge.net/lists/listinfo/itext-questions > > --- This sf.net email is sponsored by: OSDN - Tired of that same old cell phone? Get a new here for FREE! https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390 ___ iText-questions mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/itext-questions
Re: [iText-questions] Content of table not respecting left and topmargin.
Ok, thanks. /Nicolas Paulo Soares wrote: >You'll have to change. The margins didn't work and the behavior was changed. >They now work as setting the page size: they take effect in the next page. >If you get what is in the CVS it will work. > >Best Regards, >Paulo Soares > > > >>Hi. I've run into a problem when changing margins in the middle of a >>document. What happens is that the content of the table does not respect >>the left and top margin. However, the borders of the table does! Below >>is the xml I feed into iTextXML. I'm also attaching the output pdf. The >>"margin tag" simply performs a document.setMargins(left, right, top, >>bottom); when encountered. >>I'm using iText 0.92 because we're at the end of a project and I don't >>feel I want to take the risk of upgrading right now unless I have to. >> >>Thankful for any help. >> >> >> >>http://www.lowagie.com/iText/itext.dtd";> >> >> >> >> >> >> >>weerer >> >> >>weerer >> >> >>weerer >> >> >>weerer >> >> >>weerer >> >> >>weerer >> >> >> >> >>weerer >> >> >>weerer >> >> >>weerer >> >> >>weerer >> >> >>weerer >> >> >>weerer >> >> >> >> >>weerer >> >> >>weerer >> >> >>weerer >> >> >>weerer >> >> >>weerer >> >> >>weerer >> >> >> >> >> << File: pdf1.pdf >> >> >> > > >--- >This sf.net email is sponsored by:ThinkGeek >Welcome to geek heaven. >http://thinkgeek.com/sf >___ >iText-questions mailing list >[EMAIL PROTECTED] >https://lists.sourceforge.net/lists/listinfo/itext-questions > > --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ iText-questions mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/itext-questions
[iText-questions] Content of table not respecting left and top margin.
Hi. I've run into a problem when changing margins in the middle of a document. What happens is that the content of the table does not respect the left and top margin. However, the borders of the table does! Below is the xml I feed into iTextXML. I'm also attaching the output pdf. The "margin tag" simply performs a document.setMargins(left, right, top, bottom); when encountered. I'm using iText 0.92 because we're at the end of a project and I don't feel I want to take the risk of upgrading right now unless I have to. Thankful for any help. http://www.lowagie.com/iText/itext.dtd";> weerer weerer weerer weerer weerer weerer weerer weerer weerer weerer weerer weerer weerer weerer weerer weerer weerer weerer pdf1.pdf Description: Adobe PDF document
Re: [iText-questions] Increase document resolution
Why don't use the com.lowagie.pdf.PdfGraphics2D class? Vadell Cifre, Enrique wrote: >>If you have an Graphics2D instance you can use the scale-method. >>grx.scale(300.0/72, 300.0/72) would give you 300 dpi (presuming it was >>72 before the scale). >> >> > >I don't use java Graphics object. What i want to do is to draw a rectangle >on a pdf using com.lowagie.text.Graphic >object. This object is the one that must use to draw on a pdf, but the >drawing methods use coordinates expressed as points and Itext documentation >(tutorial chapter 1, chapter 4, chapter 10, see Graphic object) says there >are 72 points on a inch, and i need more than this (300 dpi would be >perfect). > >Thnx. > > > >>Vadell Cifre, Enrique wrote: >> >> >> >>>Hi, i'm trying to use iText to draw a chart, using graphics primitives. >>> >>>When using graphics primitives as: >>> >>>Graphic grx = new Graphic(); >>>grx.rectangle(100, 700, 100, 100); >>> >>>the coordinates are expresed as points and documentation says there are >>> >>> >72 > > >>>points per inch (this is at 72 dpi). But i need more resolution (300 >>> >>> >points > > >>>per inch would be perfect). Is there any way to do this?. >>> >>>Thanks. >>> >>>___ >>> >>>Don't miss the 2002 Sprint PCS Application Developer's Conference >>>August 25-28 in Las Vegas - >>> >>> >http://devcon.sprintpcs.com/adp/index.cfm?source=osdntextlink > > >>>___ >>>iText-questions mailing list >>>[EMAIL PROTECTED] >>>https://lists.sourceforge.net/lists/listinfo/itext-questions >>> >>> >>> >>> >>-- >>Nicolas Serrador Ivering >>Greenmill Consulting AB >>Byängsgränd 20 >>SE-120 40 Årsta >>Sweden >> >>Office: +46 (0)8 664 7 664 >>Fax:+46 (0)8 664 7 864 >>Mobile: +46 (0)709 734237 >>Email: [EMAIL PROTECTED] >> >> >> >>___ >> >>Don't miss the 2002 Sprint PCS Application Developer's Conference >>August 25-28 in Las Vegas - >> >> >http://devcon.sprintpcs.com/adp/index.cfm?source=osdntextlink > > >>___ >>iText-questions mailing list >>[EMAIL PROTECTED] >>https://lists.sourceforge.net/lists/listinfo/itext-questions >> > > > -- Nicolas Serrador Ivering Greenmill Consulting AB Byängsgränd 20 SE-120 40 Årsta Sweden Office: +46 (0)8 664 7 664 Fax:+46 (0)8 664 7 864 Mobile: +46 (0)709 734237 Email: [EMAIL PROTECTED] ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas - http://devcon.sprintpcs.com/adp/index.cfm?source=osdntextlink ___ iText-questions mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/itext-questions
Re: [iText-questions] Increase document resolution
If you have an Graphics2D instance you can use the scale-method. grx.scale(300.0/72, 300.0/72) would give you 300 dpi (presuming it was 72 before the scale). Vadell Cifre, Enrique wrote: >Hi, i'm trying to use iText to draw a chart, using graphics primitives. > >When using graphics primitives as: > >Graphic grx = new Graphic(); >grx.rectangle(100, 700, 100, 100); > >the coordinates are expresed as points and documentation says there are 72 >points per inch (this is at 72 dpi). But i need more resolution (300 points >per inch would be perfect). Is there any way to do this?. > >Thanks. > >___ > >Don't miss the 2002 Sprint PCS Application Developer's Conference >August 25-28 in Las Vegas - >http://devcon.sprintpcs.com/adp/index.cfm?source=osdntextlink > >___ >iText-questions mailing list >[EMAIL PROTECTED] >https://lists.sourceforge.net/lists/listinfo/itext-questions > > -- Nicolas Serrador Ivering Greenmill Consulting AB Byängsgränd 20 SE-120 40 Årsta Sweden Office: +46 (0)8 664 7 664 Fax:+46 (0)8 664 7 864 Mobile: +46 (0)709 734237 Email: [EMAIL PROTECTED] ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas - http://devcon.sprintpcs.com/adp/index.cfm?source=osdntextlink ___ iText-questions mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/itext-questions
Re: [iText-questions] Use iText to generate PDF w/o licensing fromAdobe
I think you can bundle GSView as long as you send the sourcecode along with it. Matt Benson wrote: >And of course I wasn't entirely thinking with my >earlier response... of course you can't bundle GSView >with a commercial app since it is GPL'd, at least some >versions are I think... but anyway, a PDF viewer is >becoming so standard these days, I got a copy of >Acrobat reader with my printer. > >-Matt > >--- Jose Sandoval <[EMAIL PROTECTED]> wrote: > > >>[etc...] Further, you are not authorized to bundle >>the Adobe Acrobat Reader >>Software with any (i) PDF creation software not >>licensed from Adobe Systems >>Incorporated [etc...] >> >>There is no conflict. Do not bundle Acrobat Reader >>with your CD unless your >>app is licensed by Adobe. This has nothing to do >>with the iText API used to >>generate the PDF file, it's your application that >>needs to be licensed... >>-- >>Jose' >> >> >> >> >>>-Original Message- >>>From: [EMAIL PROTECTED] >>> >>> >>> >[mailto:[EMAIL PROTECTED]]On > > >>Behalf Of >> >> >>>[EMAIL PROTECTED] >>>Sent: May 21, 2002 2:10 PM >>>To: [EMAIL PROTECTED] >>>Cc: [EMAIL PROTECTED]; >>> >>> >>[EMAIL PROTECTED] >> >> >>>Subject: [iText-questions] Use iText to generate >>> >>> >>PDF w/o licensing from >> >> >>>Adobe >>> >>> >>> >>>Hey Guys, >>> >>>We are looking at using your iText library in a >>> >>> >>stand-alone java based >> >> >>>commerical product. I was concerned about the >>> >>> >>legality of using your >> >> >>>library for PDF creation in terms of paying a >>> >>> >>licensing fee to Adobe. >> >> >>>I was curious about the legality of distributing >>> >>> >>the free Acrobat Reader >> >> >>>and so I went the Adobe license agreement for >>> >>> >>distributing Reader web site >> >> >(http://www.adobe.com/products/acrobat/acrrdistribute.html) > > >>and I was >> >> >>>reading the fine print of the End User License >>> >>> >>Agreement Supplement to >> >> >>>Permit Distribution, (which is at the bottom of >>> >>> >>the above page) and I came >> >> >>>across the following disconcerting clause. >>> >>>I have repeated the clause below: >>> >>>. >>>. >>>. >>> >>> >>> >>> >>> >>> >>> B. Other Distribution. Subject to the limitations >>> >>> >>set forth >> >> >>>below, you may reproduce and >>> distribute unlimited copies of the Software (a) >>> >>> >>as bundled with >> >> >>>other software or Scalable >>> Vector Graphic (SVG) content through electronic >>> >>> >>means >> >> >>>(including, without limitation, >>> electronic software download), (b) as bundled >>> >>> >>with other >> >> >>>software, Portable Document Format >>> (PDF) content or SVG format content on tangible >>> >>> >>media and (c) on >> >> >>>a standalone basis solely on >>> tangible media; provided, however, that you are >>> >>> >>not authorized >> >> >>>to bundle the Software with any >>> other software, plug-in or enhancement which uses >>> >>> >>or relies upon >> >> >>>the Software when converting >>> or transforming SVG or PDF files into other file >>> >>> >>formats (e.g., >> >> >>>a PDF file into a JPEG, SVG or >>> TIFF file, or an SVG file into a JPEG, PDF, PNG >>> >>> >>or SWF file). >> >> >>>Further, you are not authorized >>> to bundle the Adobe Acrobat Reader Software with >>> >>> >>any (i) PDF >> >> >>>creation software not licensed >>> from Adobe Systems Incorporated, (ii) Adobe >>> >>> >>Acrobat Reader >> >> >>>plug-in software not developed in >>> accordance with the Adobe Integration Key License >>> >>> >>Agreement or >> >> >>>(iii) other software or >>> enhancement that uses Inter Application >>> >>> >>Communication (IAC) to >> >> >>>programmatically interface with >>> Adobe Acrobat Reader for the purpose of (A) >>> >>> >>creating a file that >> >> >>>contains data (e.g., an XML >>> or comments file), (B) saving modifications to a >>> >>> >>PDF file or (C) >> >> >>>rendering a PDF file in such >>> other software's application window. >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> Now because our product was to be shipped on a CD >>> >>> >>which would >> >> >>>install our Java code, along >>> with your iText jars and the free Adobe Acrobat >>> >>> >>Reader on the >> >> >>>customer's machine. >>> >>> >>> Now the above clause is in conflict with the >>> >>> >>section you quote >> >> >>>from the PDF Reference guide >>> (http://www.lowagie.com/iText/faq.html#adobe) and >>> >>> >>so I thought >> >> >>>you guys could give me some >>> guidance on how to proceed on the legality of >>> >>> >>using your iText >> >> >>>Library in my private >>> commerical development. >>> >>> >>> >>> Thanx, >>> >>> >>> >>> Ninju Bohra >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>>
Re: [iText-questions] Problem after upgrading to Tomcat 4.0
Glad you found a solution. I'm on a project involving tomcat 4 and pdfs too so I would probably have stumbled upon the same problem eventually. /Nicolas Jay Teo wrote: > > Nicolas, > > Thanks for you response. > > I just solved my problem (or at least found a workaround). I think > it's an IE6 bug. > > After posting my original message, it was clear that the only > difference in the response header was "HTTP/1.0" vs "HTTP/1.1". So I > configured Tomcat 4 to use the HTTP 1.0 Connector and now ie6 is happy. > > One more thing, right after posting my question, I realized the iText > mailing list may not be the most appropriate place to post this > question. I apologize if that's the case. > > > -j > > > > > > Nicolas Ivering wrote: > >> Is it ie6 or acroread saying it can't open the file? It it is >> acroread it may be that tomcat 4 is sending as ASCII instead of binary. >> >> Best Regards >> Nicolas Ivering >> >> Jay Teo wrote: >> >>> >>> Hi, >>> >>> I have been using iText to generate PDF from Java servlets for some >>> time now and it has worked great until I upgraded Tomcat from 3.3 to >>> 4.0. >>> >>> After the upgrade, it's still working fine with IE 5.5. IE 6.0, >>> however, would pop up a window asking the user if he wants to Open >>> or Save the file. And regardless of which one you pick, it would say >>> it's unable to open. >>> >>> Using a program called JSnoop to trace the HTTP communication >>> between IE and Tomcat, I got the following headers: >>> >>> >>> - (TOMCAT 3.3) - >>> >>> HTTP/1.0 200 OK >>> Pragma: no-cache >>> Expires: Thu, 01 Jan 1970 00:00:00 GMT >>> Cache-Control: no-cache >>> Content-Type: application/pdf >>> Content-Length: 12543 >>> Servlet-Engine: Tomcat Web Server/3.2.1 (JSP 1.1; Servlet 2.2; Java >>> 1.3.0; Linux 2.2.16-22 i386; java.vendor=Sun Microsystems Inc.) >>> >>> >>> - (TOMCAT 4.0.3) - >>> >>> HTTP/1.1 200 OK >>> Content-Type: application/pdf >>> Content-Length: 12543 >>> Date: Mon, 22 Apr 2002 14:56:46 GMT >>> Pragma: no-cache >>> Server: Apache Tomcat/4.0.3 (HTTP/1.1 Connector) >>> Cache-Control: no-cache >>> Expires: Thu, 01 Jan 1970 00:00:00 GMT >>> >>> -- >>> >>> >>> As you can see, they both have "Content-Type" set to >>> "application/pdf". So what is wrong here? >>> >>> I'm at a loss, any help/suggestions would be appreciated. >>> >>> >>> >>> -j >>> >>> >>> >>> >>> _ >>> Do You Yahoo!? >>> Get your free @yahoo.com address at http://mail.yahoo.com >>> >>> >>> ___ >>> iText-questions mailing list >>> [EMAIL PROTECTED] >>> https://lists.sourceforge.net/lists/listinfo/itext-questions >> >> >> >> >> >> >> >> ___ >> iText-questions mailing list >> [EMAIL PROTECTED] >> https://lists.sourceforge.net/lists/listinfo/itext-questions >> > > ___ iText-questions mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/itext-questions
Re: [iText-questions] Problem after upgrading to Tomcat 4.0
Come to think of it then it wouldn't work with ie5.5 either so that is probably not it. > Is it ie6 or acroread saying it can't open the file? It it is acroread > it may be that tomcat 4 is sending as ASCII instead of binary. > > Best Regards > Nicolas Ivering > > Jay Teo wrote: > >> >> Hi, >> >> I have been using iText to generate PDF from Java servlets for some >> time now and it has worked great until I upgraded Tomcat from 3.3 to >> 4.0. >> >> After the upgrade, it's still working fine with IE 5.5. IE 6.0, >> however, would pop up a window asking the user if he wants to Open or >> Save the file. And regardless of which one you pick, it would say >> it's unable to open. >> >> Using a program called JSnoop to trace the HTTP communication between >> IE and Tomcat, I got the following headers: >> >> >> - (TOMCAT 3.3) - >> >> HTTP/1.0 200 OK >> Pragma: no-cache >> Expires: Thu, 01 Jan 1970 00:00:00 GMT >> Cache-Control: no-cache >> Content-Type: application/pdf >> Content-Length: 12543 >> Servlet-Engine: Tomcat Web Server/3.2.1 (JSP 1.1; Servlet 2.2; Java >> 1.3.0; Linux 2.2.16-22 i386; java.vendor=Sun Microsystems Inc.) >> >> >> - (TOMCAT 4.0.3) - >> >> HTTP/1.1 200 OK >> Content-Type: application/pdf >> Content-Length: 12543 >> Date: Mon, 22 Apr 2002 14:56:46 GMT >> Pragma: no-cache >> Server: Apache Tomcat/4.0.3 (HTTP/1.1 Connector) >> Cache-Control: no-cache >> Expires: Thu, 01 Jan 1970 00:00:00 GMT >> >> -- >> >> >> As you can see, they both have "Content-Type" set to >> "application/pdf". So what is wrong here? >> >> I'm at a loss, any help/suggestions would be appreciated. >> >> >> >> -j >> >> >> >> >> _ >> Do You Yahoo!? >> Get your free @yahoo.com address at http://mail.yahoo.com >> >> >> ___ >> iText-questions mailing list >> [EMAIL PROTECTED] >> https://lists.sourceforge.net/lists/listinfo/itext-questions > > > > > > > ___ > iText-questions mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/itext-questions ___ iText-questions mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/itext-questions
Re: [iText-questions] Problem after upgrading to Tomcat 4.0
Is it ie6 or acroread saying it can't open the file? It it is acroread it may be that tomcat 4 is sending as ASCII instead of binary. Best Regards Nicolas Ivering Jay Teo wrote: > > Hi, > > I have been using iText to generate PDF from Java servlets for some > time now and it has worked great until I upgraded Tomcat from 3.3 to 4.0. > > After the upgrade, it's still working fine with IE 5.5. IE 6.0, > however, would pop up a window asking the user if he wants to Open or > Save the file. And regardless of which one you pick, it would say it's > unable to open. > > Using a program called JSnoop to trace the HTTP communication between > IE and Tomcat, I got the following headers: > > > - (TOMCAT 3.3) - > > HTTP/1.0 200 OK > Pragma: no-cache > Expires: Thu, 01 Jan 1970 00:00:00 GMT > Cache-Control: no-cache > Content-Type: application/pdf > Content-Length: 12543 > Servlet-Engine: Tomcat Web Server/3.2.1 (JSP 1.1; Servlet 2.2; Java > 1.3.0; Linux 2.2.16-22 i386; java.vendor=Sun Microsystems Inc.) > > > - (TOMCAT 4.0.3) - > > HTTP/1.1 200 OK > Content-Type: application/pdf > Content-Length: 12543 > Date: Mon, 22 Apr 2002 14:56:46 GMT > Pragma: no-cache > Server: Apache Tomcat/4.0.3 (HTTP/1.1 Connector) > Cache-Control: no-cache > Expires: Thu, 01 Jan 1970 00:00:00 GMT > > -- > > > As you can see, they both have "Content-Type" set to > "application/pdf". So what is wrong here? > > I'm at a loss, any help/suggestions would be appreciated. > > > > -j > > > > > _ > Do You Yahoo!? > Get your free @yahoo.com address at http://mail.yahoo.com > > > ___ > iText-questions mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/itext-questions ___ iText-questions mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/itext-questions