• Post Reply Bookmark Topic Watch Topic
  • New Topic

using dynamic path in FileOutputStream("")  RSS feed

 
vineet varghese
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Bartender
Posts: 11445
18
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
C:\\user_id_hello.pdf?
 
vineet varghese
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
the value of the string user_id i meant ...
 
Paul Clapham
Sheriff
Posts: 22823
43
Eclipse IDE Firefox Browser MySQL Database
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!