WebDev return PDF with file name

You got me down the right path.

request["servletResponse"].addHeader('Content-Disposition', 'attachment; filename="{}.pdf"'.format(ticketNum))

Time to read up on the HttpServletResponse object in case this customer wants anything else. Sigh.

Thanks for the help!

2 Likes