HTML to PDF/RTF Java converter and tools › Forums › PD4ML v3 Archived Forums (Read Only) › General questions / FAQ › How to rename the auto generated pdf file before creation? This topic has 2 replies, 2 voices, and was last updated Jan 15, 201018:35:03 by PD4ML. Viewing 3 posts - 1 through 3 (of 3 total) Author Posts Anonymous December 23, 2009 at 09:23 #26308 I am passing the hidden variable “fileName” from HTML file and want the the auto generated pdf file name to be the “fileName” which i am passing from the HTML. In my JSP i am able to get the fileName as var str1= request.getParameter(“fileName”). Please help!! As i don’t want the auto generated name. Anonymous December 23, 2009 at 15:21 #27750 Got the solution: Just accept the “fileName” from the request (from HTML) and store it in a global variable in JSP and set it in the name attribute of Eg; <%String fileName = request.getParameter("fileName"); %> PD4ML January 15, 2010 at 18:35 #27751 Glad you found a solution. If you need to define a default PDF file name to prompt to store on the client side, you may define the following attributes of Author Posts Viewing 3 posts - 1 through 3 (of 3 total) The forum ‘General questions / FAQ’ is closed to new topics and replies.