Hi,
   Presently I am having the following piece of code for opening the PDF in the 
new browser window.

                OutputStream out = response.getOutputStream();
                String filename = "AutoGlaserOutput.pdf";
                response.setContentType("application/pdf");
                response.setContentLength(attBuffer.length);
                response.setHeader(
                    "Content-Disposition",
                    "inline; filename=" + filename);
                out.write(attBuffer);
                out.flush();

A new window is being opened using the javascripts window.open("url").

When i try to open the PDF in the AcrobatReader's version 6 or lesser then the 
PDF opens in the browser window. But if i try to open the PDf in the 
AcrobatReader 7.0 then it opens a new browser window but opens the PDF in 
AcrobatReader rather than the browser window. 

I checked the internet options in the Acrobats Preferences and everything seems 
to be fine. 

Can anyone provide some insight as to why is it happening so with the Acrobat 
7.0 and not with the Acrobats of earlier versions(5.0 and 6.0) and also some 
solution for the to make it open in the new window?

Regards & Thanks,
Avjit 

Reply via email to