you'll want to acquire and configure the acrobat plugin for your browser

Firefox: 
http://kb2.adobe.com/cps/333/333563.html

 

Internet Explorer

http://kb2.adobe.com/cps/331/331025.html


Martin Gainty 
______________________________________________ 
Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité

Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger 
sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung 
oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem 
Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. 
Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung 
fuer den Inhalt uebernehmen.

Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le 
destinataire prévu, nous te demandons avec bonté que pour satisfaire informez 
l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci est 
interdite. Ce message sert à l'information seulement et n'aura pas n'importe 
quel effet légalement obligatoire. Étant donné que les email peuvent facilement 
être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité 
pour le contenu fourni.



 

> From: zvalenti...@gmail.com
> Subject: Re: PDF to acrobat
> Date: Tue, 29 Jun 2010 21:23:42 +0200
> To: users@tomcat.apache.org
> 
> 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
> > 
> 
                                          
_________________________________________________________________
The New Busy is not the too busy. Combine all your e-mail accounts with Hotmail.
http://www.windowslive.com/campaign/thenewbusy?tile=multiaccount&ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_4

Reply via email to