Hello,

I had a similar problem when I used iText with IE 6.0
for one of my Struts applications. The problem
vanished when I disabled caching on the browser with
the following setting in struts-config.

    <controller      
processorClass="org.apache.struts.tiles.TilesRequestProcessor">
   <set-property property="nocache" value="true"/>
   </controller>

HTH,
Shyam

--- tvvincam <[EMAIL PROTECTED]> wrote:
> 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]
> 
> 



                
__________________________________
Do you Yahoo!?
Yahoo! Mail Address AutoComplete - You start. We finish.
http://promotions.yahoo.com/new_mail 

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

Reply via email to