[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: PDF creation using FO and Displaying PDF in IE Bro
Thanks Matt, Actually I have the entire document in a PrintStream which I want to send to the browser in the Servlet response. PrintStream out = new PrintStream( res.getOutputStream() ); I don't have any physical PDF document. Please help! Anish --- Matt Sergeant <matt@xxxxxxxxxxxx> wrote: > On Wed, 18 Jul 2001, Anis h wrote: > > > I have a question related to displaying pdf in a > > browser.. I created > > a pdf in my servlet and I attached to the response > of > > my servlet > > > > res.setContentType("application/pdf"); then when I > try > > to access my > > servlet from the IE browser, my servlet is > executed > > and it creates > > the PDF document but in the browser I am not able > to > > see the PDF > > document.. the status bar shows downloading from > url > > of my servlet.. > > adope window pops up for a second and browser > shows > > me nothing > > > > let me know if I need to do any settings in my > browser > > or I need to > > add anything in my servlet > > Nope, just append something to the URL to make IE > see it as pdf, e.g. > http://server/path/to/servlet?ie_really_sucks=.pdf > > :-) > > -- > <Matt/> > > /|| ** Founder and CTO ** ** > http://axkit.com/ ** > //|| ** AxKit.com Ltd ** ** XML > Application Serving ** > // || ** http://axkit.org ** ** XSLT, > XPathScript, XSP ** > // \\| // ** mod_perl news and resources: > http://take23.org ** > \\// > //\\ > // \\ > > > XSL-List info and archive: > http://www.mulberrytech.com/xsl/xsl-list > __________________________________________________ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail http://personal.mail.yahoo.com/ XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|