Use an absolute path. If you don't know what path, neither do we.

Paulo

----- Original Message ----- 
From: "muleiro" <[EMAIL PROTECTED]>
To: <itext-questions@lists.sourceforge.net>
Sent: Tuesday, November 28, 2006 6:23 PM
Subject: [iText-questions] write pdf file to disk


>
> Hi....i think i'm fighting against a quite simple problem but i'm afraid i
> can't resolve it.
>
> I create my pdf file using a FileOutputStream  like this:
>
> FileOutputStream fos = new FileOutputStream("OUT.pdf");
> PdfCopy copy = new PdfCopy(document, fos);
> (...)
>
> And iText creates the OUT.pdf as i want but the file is placed in my 
> module
> folder. What i wanted is place the OUT.pdf under the build folder in order
> to be accessed by the user. (because final users will only have the jars, 
> no
> the same file structure as me)
> The question is, how i can tell iText to write the OUT.pdf inside the 
> module
> .jar?
>
> Thank you,
> Iago
> -- 
> View this message in context: 
> http://www.nabble.com/write-pdf-file-to-disk-tf2720070.html#a7584671
> Sent from the iText - General mailing list archive at Nabble.com.
>
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share 
> your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> iText-questions mailing list
> iText-questions@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/itext-questions
> Buy the iText book: http://itext.ugent.be/itext-in-action/ 


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/

Reply via email to