Re: [iText-questions] Pushbutton submit fails to open in a browser.

2009-04-07 Thread shri2010
1T3XT info wrote: > > shri2010 wrote: >> Leonard, Thanks for your quick & accurate response. >> >> Please clarify me. >> >> 1) I am designing itext form with 3 input fields to collect information >> from >> the user. > > OK, then the PDF needs to be opened in the Adobe Reader browser plug-in.

Re: [iText-questions] Pushbutton submit fails to open in a browser.

2009-04-07 Thread 1T3XT info
shri2010 wrote: > Leonard, Thanks for your quick & accurate response. > > Please clarify me. > > 1) I am designing itext form with 3 input fields to collect information from > the user. OK, then the PDF needs to be opened in the Adobe Reader browser plug-in. IT WON'T WORK if the end-user opens t

Re: [iText-questions] Pushbutton submit fails to open in a browser

2009-04-07 Thread Klas Lindbäck
In your servlet, set the response type to PDF with the following code: response.setContentType("application/pdf"); Ämne: [iText-questions] Pushbutton submit fails to open in a browser. Från:

Re: [iText-questions] Pushbutton submit fails to open in a browser.

2009-04-07 Thread shri2010
> Leonard > > -Original Message- > From: 1T3XT info [mailto:i...@1t3xt.info] > Sent: Tuesday, April 07, 2009 7:15 AM > To: Post all your questions about iText here > Subject: Re: [iText-questions] Pushbutton submit fails to open in a > browser. > > shri2010 wrot

Re: [iText-questions] Pushbutton submit fails to open in a browser.

2009-04-07 Thread Leonard Rosenthol
ons] Pushbutton submit fails to open in a browser. shri2010 wrote: > Hi , > > I am using Itext to generate pdf. I am using below code snippet to submit > myform to servlet hosted locally. > > I am facing two issues. > > 1) On click of submit it shows pop up "cannot h

Re: [iText-questions] Pushbutton submit fails to open in a browser.

2009-04-07 Thread 1T3XT info
shri2010 wrote: > Hi , > > I am using Itext to generate pdf. I am using below code snippet to submit > myform to servlet hosted locally. > > I am facing two issues. > > 1) On click of submit it shows pop up "cannot handle content type text / > html " Your server returns content in the HTML form

[iText-questions] Pushbutton submit fails to open in a browser.

2009-04-07 Thread shri2010
Hi , I am using Itext to generate pdf. I am using below code snippet to submit myform to servlet hosted locally. I am facing two issues. 1) On click of submit it shows pop up "cannot handle content type text / html " 2) It won't shows any error message & won't open browser too. PushbuttonFiel