  | Mailing List | | Home | | Forum Home | | JBoss - Java Application Server | | Tomcat - JSP/Servlet container | | Struts - A MVC web framework | | iText - An open source PDF Java Library | | JDOM - JDOM XML Parser | | J2EE - A mailing list for Java(tm) 2 Platform, Enterprise Edition | | J2EE Pattern - An interest list for Sun Java Center J2EE Pattern Catalog | | JSP - A mailing list about Java Server Pages specification and reference | | Servlet - A mailing list for discussion about Sun Microsystem's Java Servlet API Technology | |
Struts & Hibernate
|
|
|
  | | | of images | of images 2006-08-12 - By Md Sagri
Back Hi all, I am a new to iText and going through the tutor. I find the information provided by the site is very useful and espacially mail archives . My question is : if I want to create a document and send it accross the fie(I dont have any other use after sending) , do I compulsorily need to create one file using PdfWriter.getInstance(document, new FileOutputStream("DefaultPage.pdf")); This will waste my space each time user request with new requirement parameter. How can I create a document on the fly without needing to specify a fileOutputStreame protected PdfWriter(PdfDocument document, OutputStream os) Constructs a PdfWriter. Remark: a PdfWriter can only be constructed by calling the method getInstance(Document document, OutputStream os). I dont want to save the file, but just to send it. Is there an alternative to achive this. Please let me know Thanks and Regards: Sagri
-- ---- ---- ---- ---- ---- ----- Here's a new way to find what you're looking for - Yahoo! Answers Send FREE SMS to your friend's mobile from Yahoo! Messenger Version 8. Get it NOW Hi all,<br> I am a new to iText and going through the tutor.<br> I find the information provided by the site is very useful and espacially mail archives . <br> <br> My question is :<br> if I want to create a document and send it accross the fie(I dont have any other use after sending) , do I compulsorily need to create one file using <br> PdfWriter.getInstance (document, new FileOutputStream("DefaultPage.pdf"));<br> <br> This will waste my space each time user request with new requirement parameter.<br> <br> How can I create a document on the fly without needing to specify a fileOutputStreame<br> <br> <pre>protected <b>PdfWriter</b>(<a href="file:///home/quayum/Desktop/docs .tar.gz_FILES/com/lowagie/text/pdf/PdfDocument.html" title="class in com.lowagie .text.pdf">PdfDocument</a> document,<br> <a href="http:/ /java.sun.com/j2se/1.3/docs/api/java/io/OutputStream.html" title="class or interface in java.io">OutputStream</a> os)</pre> <dl> <dd>Constructs a <code >PdfWriter</code>. <div> Remark: a PdfWriter can only be constructed by calling the method <code>getInstance(Document document, OutputStream os)</code >.</div></dd> </dl> <br> I dont want to save the file, but just to send it. Is there an alternative to achive this. Please let me know<br> <br> Thanks and Regards:<br> Sagri<br> <dl> <dt><br> </dt> </dl> <br> <br> <br> <br> <br > <p> 
<hr size=1></hr> Here's a new way to find what you're looking for - <a href="http://us.rd.yahoo .com/mail/in/yanswers/*http://in.answers.yahoo.com/">Yahoo! Answers</a> <BR> Send FREE SMS to your friend's mobile from Yahoo! Messenger Version 8. <a href= "http://in.rd.yahoo.com/messengertagline/*http://in.messenger.yahoo.com">Get it NOW</a> -- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ----- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 __ ____ ____ ____ ____ ____ ____ ____ ____ ____ iText-questions mailing list iText-questions@(protected) https://lists.sourceforge.net/lists/listinfo/itext-questions
|
|
 |