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
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
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
.
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'
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
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
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
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
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
--
___