| Author |
using dynamic path in FileOutputStream("")
|
vineet varghese
Greenhorn
Joined: Aug 16, 2011
Posts: 13
|
|
hi all
i have a String user_id ..which CHANGES on every request
and i am using PdfWriter.getInstance(document, new FileOutputStream("C:\\hello.pdf"));
to generate my pdf in ..but i the pdf should contain the user_id as a part of its name ........how can i do it ?
|
 |
Maneesh Godbole
Saloon Keeper
Joined: Jul 26, 2007
Posts: 8430
|
|
|
C:\\user_id_hello.pdf?
|
[Donate a pint, save a life!] [How to ask questions] [Onff-turn it on!]
|
 |
vineet varghese
Greenhorn
Joined: Aug 16, 2011
Posts: 13
|
|
|
the value of the string user_id i meant ...
|
 |
Paul Clapham
Bartender
Joined: Oct 14, 2005
Posts: 16482
|
|
|
|
 |
 |
|
|
subject: using dynamic path in FileOutputStream("")
|
|
|