Hi Dola, Setting the content type to "application/octet-stream" will force a download. If I recall my headers correclty, setting "application/pdf" is as close as you can get to telling it to open in the browser without embedding it in an HTML file directly and thereby forcing the browser to use a plugin to render the PDF.
Someone might have some other tip, but this is also somewhat browser/plugin dependent, e.g., I notice different behavior between Firefox and Chrome, even when opening the same links to the same PDFs. Good luck, Zach On Jun 29, 2010, at 9:08 PM, Dola Woolfe wrote: > Hi, > > I set > > response.setContentType("application/pdf"); > > > as a result, the served up content triggers a "Download" rather than opening > acrobat within browser window. > > > Do I get to control what happens at client end? I want acrobat to open within > browser. > > How do I achieve that? > > Thanks, > > Dola > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org >