Anish,
Here's something you can do that would indirectly solve your problem. You said that in your application, you update the database and then generate the report. Now, would you ever want to retrieve an existing report? If so, you may want to redirect the client to the "view report" url after the report is inserted into the db rather than forwarding directly to the PDF generator. For example, in my application, http://myhost/myapp/salesorder/new_order creates and insert the order. And when that's done, I redirect the client to http://myhost/myapp/salesorder/view_order?id=xxx I did it this way just because I need to be able to view an existing order anyway. In fact, for a long time I wasn't even aware of IE's load-twice problem. Of course, this solution doesn't help with the time wasted generating and transmitting the PDF twice (you just don't insert twice)! :) But depending on your requirements, this may be something you want to do anyway. -J.Teo Anis h wrote: > Hello, > > I read your answere posted asking to check FAQ for > info regarding IE problems.. as you said I followed > the link to MS site and confirmed that IE 5.5 SP1 > submits the request twice.. I installed SP2 but still > I have the same problem.. unfortunately my sevelt > updates a DB then it generates a report.. if it is > called twice there there will be two updates... I just > want to ask you and our iText experts is there any > know workaround for this particular problem. Also MS > article has the following > > RESOLUTION > To work around this limitation and to considerably > improve the performance of your application, watch for > the "contype" userAgent request and only return the > content-type. > > > > but I really don't understand what that means.. > > in my servelt I have the following > > response.setContentType("application/pdf") > > is that what the above resolution is asking me to do > > > kindly help me! > > Anish > > > > __________________________________________________ > Do You Yahoo!? > Yahoo! Health - your guide to health and wellness > http://health.yahoo.com > > _______________________________________________________________ > > Have big pipes? SourceForge.net is looking for download mirrors. We supply > the hardware. You get the recognition. Email Us: [EMAIL PROTECTED] > _______________________________________________ > iText-questions mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/itext-questions > > -- ---------------------------------------------------------------- J.Teo | "Life is like a burrito: If it is really good, [EMAIL PROTECTED] | you don't need a knife." __/\____/\____/\____/\____/\____/\____/\____/\____/\____/\____/\ http://longbow.homeip.net:8000/jayne ---------------------------------------------------------------- _______________________________________________________________ Have big pipes? SourceForge.net is looking for download mirrors. We supply the hardware. You get the recognition. Email Us: [EMAIL PROTECTED] _______________________________________________ iText-questions mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/itext-questions