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