Re: duplicated request for servlet outputting PDF

From: Andy Fish (ajfish_at_blueyonder.co.uk)
Date: 06/04/04


Date: Fri, 04 Jun 2004 16:28:53 GMT


"kevin" <kevin@mtel.co.uk> wrote in message
news:6675f17.0406040729.3dbf37b6@posting.google.com...
> hi there,
>
> i'm using the JFreeReport library to make PDF's from sql data, and
> while it was placed inline into a frameset from JSP by a bean function
> all was well. I moved the code to a servlet in a popup window, and now
> i get (no matter *what* i try) two requests back to back for the data
> (which beingh in a temp table is gone second try and i get no output).
>

are you sure it's not something to do with the way the acrobat reader is
handling the view. Here's something I have seen happen before when using IE
with plugins.

firstly the browser starts downloading the stream, then it realises it is a
content-type that should be handled by an external application, so it closes
the stream and fires up the external app giving it the URL. the external
viewer then makes the request again and downloads the document.

is it possible you changed the actobat/IE integration so that instead of
firing up in emdedded mode it now fires up a separate window, or made some
other change to IE or pdf reader's settings?

if it definitely isn't this, then I've wasted your time and I have no idea
how it could be related to javascript pop-up windows.

Andy



Relevant Pages

  • Re: How to catch Internet Explorer events?
    ... Internet Explorer events (e.g. changed url, new browser window opened, ... BeforeNavigate Fires before navigation occurs in the given object (on ... If a file download dialog is to be displayed, ...
    (microsoft.public.dotnet.framework.clr)
  • Re: How to catch Internet Explorer events?
    ... Internet Explorer events (e.g. changed url, new browser window opened, ... BeforeNavigate2 Fires before navigation occurs in the given object (on ... OnQuit Fires before the Internet Explorer application quits. ...
    (microsoft.public.dotnet.framework.clr)
  • Re: ObjectTextToBinary
    ... > window" exception occured at ReadComponentline. ... If you want to load a component with this requirement from a stream it ... Then create an *empty* instance of the form class, ... If you need a way to clone individual components search the newsgroup archives ...
    (borland.public.delphi.language.objectpascal)
  • Re: Viewing family members
    ... the URL to the encoder (or the server for that stream) and you'd be set. ... All e-mail to this account will bounce or be deleted - *use the newsgroups*. ... >>>> You have an uncle who lives in New York city, ... and a window pops up. ...
    (microsoft.public.windowsmedia.player)
  • Re: minor annoyance (Re: large dictionaries)
    ... minorly modified version of deflate (and thus being naturally more generic ... dynamic blocks (32kB window, ... structure (rather than just dumping a raw stream). ... or, I could use the gzip format, but would then produce files not decodable ...
    (comp.compression)