I'm having problems with the visualization of PDFs in the pages of an application.
The idea is that when somebody does click in the Link of the pdf directly opens it in a window, the problem that I have is that when I want to record the open pdf (from the Acrobat) it puts as name the complete URL of the file.
The code that I am using for the writing of HttpServletResponse is:
what is wrong ?Code:
response.setHeader("Content-Disposition", "inline; filename=".concat