× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



I think it's browser's fault. Has happened to me under
the similar circumstances, developing servlet for
conversion into PDF using
HttpServletResponse.getOutputStream(). Worked fine on
my IE6.0/Win98 and called servlet twice on
IE5.5/Win95. No string ".pdf" in input parms.

Solution:
uncless you can afford to by Microsoft and make them
correct it, switching from GET to POST when invoking a
servlet does a job.

There can be another reason. If you use the Java
script to submit a request, there may be a situation
where form is submitted twice, once from script, the
other time from action attribute on the form itself.
Solution: Clear the action attribute.

Vanja Jovic,
Canada

--- "Ducret, Gilles (CH)"
<Gilles.DUCRET@lloydsbank.ch> wrote:
> This message is in MIME format. Since your mail
> reader does not understand
> this format, some or all of this message may not be
> legible.
> --
> [ Picked text/plain from multipart/alternative ]
> Unfortunately it doesn't change the behaviour
>
> Gilles
>
> -----Original Message-----
> From: Clapham, Paul [mailto:pclapham@core-mark.com]
> Sent: jeudi, 2. mai 2002 17:08
> To: java400-l@midrange.com
> Subject: RE: Multiple browsers and servlets
>
>
> I have heard that there is a bug in Internet
> Explorer specifically related
> to .pdf files that causes that, and if you change
> your URL parameters from
>
> ?action=toPDF&dummy=141240GBP31 January2002.pdf
>
> to something that does not end with .pdf, such as
>
> ?dummy=141240GBP31 January2002.pdf&action=toPDF
>
> your problem should go away.  I can't find the
> original reference where I
> saw that, but try it and see if it works.
>
> PC2
>
> -----Original Message-----
> From: Ducret, Gilles (CH)
> [mailto:Gilles.DUCRET@lloydsbank.ch]
> Sent: May 2, 2002 06:45
> To: JAVA400-L (E-mail)
> Subject: Multiple browsers and servlets
>
>
> This message is in MIME format. Since your mail
> reader does not understand
> this format, some or all of this message may not be
> legible.
> --
> [ Picked text/plain from multipart/alternative ]
> Hello all,
>
> I have a behaviour that I cannot explain.
>
> I am in my browser, displaying portfolio data. I
> have a servlet that is
> responsible
> for displaying the portfolio in a pdf document.
>
> We have decided to display it in a new window. So,
> when the user clic
> on the print icon, it opens a new window and call
> the rendering servlet.
>
> I noticed that in this case the servlet is called 3
> times!
>
> If I call directly the rendering the servlet from
> the browser url line, (no
> new window
> opened), the rendering servlet is called once.
>
> Can somebody explain me, why when opening a new
> window the request
> is sent 3 times?
>
> I have this in HTML:
>
> <div align="right">
>   <a
>
href="/servlet/RenderPortfolio?action=toPDF&dummy=141240GBP31
> January
> 2002.pdf" target="_blank"><img
> src="./secure/images/printer.gif" width="16"
> height="16" border="0"></a>
> </div>
>
> I was expecting sessions problems, but it is not the
> case.
>
> Cheers
>
> Gilles
> _______________________________________________
> This is the Java Programming on and around the
> iSeries / AS400 (JAVA400-L)
> mailing list
> To post a message email: JAVA400-L@midrange.com
> To subscribe, unsubscribe, or change list options,
> visit:
> http://lists.midrange.com/cgi-bin/listinfo/java400-l
> or email: JAVA400-L-request@midrange.com
> Before posting, please take a moment to review the
> archives
> at http://archive.midrange.com/java400-l.
>
>
>
**********************************************************************
> This E-mail and any files transmitted with it are
> confidential
> and intended for the exclusive use of the
> addressee(s) only.
>  You should not disclose its contents to any other
> person.
> If you are not the intended recipient please notify
> the sender
> immediately.
>
**********************************************************************
> _______________________________________________
> This is the Java Programming on and around the
> iSeries / AS400 (JAVA400-L) mailing list
> To post a message email: JAVA400-L@midrange.com
> To subscribe, unsubscribe, or change list options,
> visit:
> http://lists.midrange.com/cgi-bin/listinfo/java400-l
> or email: JAVA400-L-request@midrange.com
> Before posting, please take a moment to review the
> archives
> at http://archive.midrange.com/java400-l.
>


__________________________________________________
Do You Yahoo!?
Yahoo! Shopping - Mother's Day is May 12th!
http://shopping.yahoo.com


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.