..
> return null;
>
> kind regards,
>
> frank
>
> > -Ursprüngliche Nachricht-
> > Von: Frank Zammetti [mailto:[EMAIL PROTECTED]
> > Gesendet: Dienstag, 3. August 2004 15:41
> > An: [EMAIL PROTECTED]
> > Betreff: RE: struts and iText
>
ntentLength(anz);
ServletOutputStream out = response.getOutputStream();
baos.writeTo(out);
out.flush();
...
return null;
kind regards,
frank
> -Ursprüngliche Nachricht-
> Von: Frank Zammetti [mailto:[EMAIL PROTECTED]
> Gesendet: Dienstag, 3. August 2004 15:41
> An: [EM
new instance it will display the pdf document in-place of the frame or will
open a new instance.
HTH
-Amar
>
>
>-Original Message-
>From: Otto, Frank [mailto:[EMAIL PROTECTED]
>Sent: Tuesday, August 03, 2004 9:18 AM
>To: '[EMAIL PROTECTED]'
>Subject: str
.printStackTrace();
}
return null;
} // End process()
}
Hope that helps, if you go this route.
Frank W. Zammetti
Chief Software Architect
Omnytex Technologies
www.omnytex.com
From: "Jesse Alexander (KXT)" <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List" <
elps
> Alexander
>
>
> -----Original Message-
> From: Otto, Frank [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, August 03, 2004 9:18 AM
> To: '[EMAIL PROTECTED]'
> Subject: struts and iText
>
> Hi,
>
> I have generated a pdf with iText. In my ac
Jesse Alexander (KXT) [mailto:[EMAIL PROTECTED]
> Gesendet: Dienstag, 3. August 2004 10:49
> An: Struts Users Mailing List
> Betreff: RE: struts and iText
>
>
> Well,...
>
> If you already have the PDF generated, why not directly write
> it to the response(and in this way
Message-
From: Otto, Frank [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 03, 2004 9:18 AM
To: '[EMAIL PROTECTED]'
Subject: struts and iText
Hi,
I have generated a pdf with iText. In my action class I want to write it in the
response object.
The result should be a jsp-page wi
Struts action execute gives you a request/response, so you can just
pretend that it's a servlet, set the type and stream anything you want.
.V
Otto, Frank wrote:
Hi,
I have generated a pdf with iText. In my action class I want to write it in the response object.
The result should be a jsp-pag
Hi,
I have generated a pdf with iText. In my action class I want to write it in the
response object.
The result should be a jsp-page with content "pdf generated successful" and a link to
this pdf. The pdf should be shown in a new browser window too.
Has someone do this? How can I do this?
9 matches
Mail list logo