This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: PDF creation using FO and Displaying PDF in IE Browser


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@sergeant.org> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]