Re: AW: struts and iText

2004-08-04 Thread Craig McClanahan
.. > 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 >

AW: struts and iText

2004-08-04 Thread Otto, Frank
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

RE: struts and iText

2004-08-03 Thread Jirole, Amar
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

RE: struts and iText

2004-08-03 Thread Frank Zammetti
.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" <

RE: struts and iText

2004-08-03 Thread Buland Altaf
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

AW: struts and iText

2004-08-03 Thread Otto, Frank
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

RE: struts and iText

2004-08-03 Thread Jesse Alexander (KXT)
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

Re: struts and iText

2004-08-03 Thread Vic Cekvenich
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

struts and iText

2004-08-03 Thread Otto, Frank
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?