View Single Post
  #1 (permalink)  
Old 06-25-2007, 06:55 AM
Marcus Marcus is offline
Member
 
Join Date: Jun 2007
Posts: 92
Marcus is on a distinguished road
Visualization of PDFs
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:

Code:
response.setHeader("Content-Disposition", "inline; filename=".concat ("\"").concat("FILE_NAME.pdf").concat("\"")); response.setContentType("application/pdf");
what is wrong ?

Marcus
Reply With Quote
Sponsored Links