Hi,
I have the same problem.
I have realised it with this statement:
PdfWriter.getInstance(document, new FileOutputStream(ausgabe.pdf));
But how can I save it on a server or my local space? Because with my
version, the pdf is generated on the fly, but isn't saved.
Alexis Pigeon wrote:
>
> Hi
Hi Ramesh,
On 30/10/2007, ramesh totakoori <[EMAIL PROTECTED]> wrote:
>
> Hi Team,
>
> I am able to generate the PDF and open in the browser using the follwing
> code
[...]
> PdfWriter.getInstance(document, response.getOutputStream());
>
> But I need to save the file to server instead of opening
Hi Team,
I am able to generate the PDF and open in the browser using the follwing code
Document document = new Document();
response.setContentType("application/pdf");
response.setHeader("Expires", "0");
response.setHeader("Cache-Control", "must-revalidate, post-check=0,
pre-check=0");
response.s