Hi,

 You can also look how FOP work around this problem:

http://xml.apache.org/fop/faq.html#iex-servlet-multiple

/David

-----Message d'origine-----
De : tvvincam [mailto:[EMAIL PROTECTED] 
Envoyé : June 20, 2004 22:22
À : [EMAIL PROTECTED]
Objet : problem with returning a pdf

Hi,

I'm using JasperReports to create a pdf based on user criteria 
submitted via a struts form.

I've run into a problem with a feature in IE
http://support.microsoft.com/default.aspx?scid=kb;EN-US;q293792

Basically, IE will resubmit the request 3 times. This is causing a 
problem because the reset method is called on my form bean and wipes 
out all my boolean selection criteria.

The iText web site http://www.lowagie.com/iText/faq.html#msie
has the following work around:
<HTML>
<BODY leftMargin=0 topMargin=0 scroll=no>
  <EMBED src="http://myserver/pdfCreationServlet"; width="100%" 
height="100%" type=application/pdf fullscreen="yes">
</body>
</html>

but I cannot figure out how to get the user input using this method.

Is there a way around this problem? The only way I can think of doing 
is to save the pdf byte[] in session and then get redirect the user 
to the above work around page. The above link will point to another 
action which will get the pdf byte[] from session and write it to the 
response. I really don't like this solution and would appreciate any 
help.

Cheers,
N


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to