PD4ML v4 Forums PD4ML v3 Archived Forums (Read Only) General questions / FAQ How to rename the auto generated pdf file before creation?

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #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.

    #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"); %>

    #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.