Re: [iText-questions] How to set the pdf's name dynamically

2010-05-26 Thread 1T3XT info
Zhu, Yunpu wrote: > That's a good approach to set up the name in web.xml. It's no problem to > link to a pdf extension name, but how can we set the filename > automatically, not the constant name? Why would there be a constant name? You create a name in your link... (Do you understand the conc

Re: [iText-questions] How to set the pdf's name dynamically

2010-05-26 Thread Zhu, Yunpu
t the URL to be >> "http://server/printable/filenameiwant.ashx";. When you hit the save-as >> button in Reader, it would then auto-fill the file name with >> "filenameiwant". >> >> So I would recommend Googling "Apache http handler". ;) I

Re: [iText-questions] How to set the pdf's name dynamically

2010-05-26 Thread Zhu, Yunpu
That's a good approach to set up the name in web.xml. It's no problem to link to a pdf extension name, but how can we set the filename automatically, not the constant name? Thanks 1T3XT info wrote: > Brian Lovett wrote: > >> So I would recommend Googling "Apache http handler". ;) I hope

Re: [iText-questions] How to set the pdf's name dynamically

2010-05-26 Thread Brian Lovett
. That's why I finally resorted to using the handler. Thanks, Brian -Original Message- Date: Wed, 26 May 2010 11:06:48 -0400 From: Erik Pfingsten Subject: Re: [iText-questions] How to set the pdf's name dynamically To: 'Post all your questions about iText here'

Re: [iText-questions] How to set the pdf's name dynamically

2010-05-26 Thread Erik Pfingsten
s > button in Reader, it would then auto-fill the file name with > "filenameiwant". > > So I would recommend Googling "Apache http handler". ;) I hope this > helps! > > Thanks, > > Brian > > -Original Message- > > Message: 9 &g

Re: [iText-questions] How to set the pdf's name dynamically

2010-05-26 Thread 1T3XT info
Brian Lovett wrote: > So I would recommend Googling "Apache http handler". ;) I hope this helps! Good suggestion. I believe the OP is using Servlets and JSP. A more elegant solution would be to drop JSP (it's NEVER a good idea to create ANY binary file using JSP, IMHO creating PDF from JSP is

Re: [iText-questions] How to set the pdf's name dynamically

2010-05-26 Thread Brian Lovett
o I would recommend Googling "Apache http handler". ;) I hope this helps! Thanks, Brian -Original Message- Message: 9 Date: Wed, 26 May 2010 08:49:21 +0200 From: 1T3XT info Subject: Re: [iText-questions] How to set the pdf's name dynamically when using

Re: [iText-questions] How to set the pdf's name dynamically when using servlet

2010-05-25 Thread 1T3XT info
Zhu, Yunpu wrote: > I wanna decide pdf's name dynamically when I generate the pdf file using > a servlet and Jsp. The pdf is shown in browser. When I click save as, > the pop-up name is different during the different scenario. That's not an iText question. The name of the file is defined in the

[iText-questions] How to set the pdf's name dynamically when using servlet

2010-05-25 Thread Zhu, Yunpu
I wanna decide pdf's name dynamically when I generate the pdf file using a servlet and Jsp. The pdf is shown in browser. When I click save as, the pop-up name is different during the different scenario. Thanks -- ___