Hi  Thanks a lot for your suggestion. I am still having some problem in 
generating PDFs in different explorer windows from Servlet, now I am generating 
from a servlet but I am unable to do the generation in a for loop with 
different data. Its saying that the document is closed, what approach should I 
do for this?ThanksNiladri.On Wed, 23 Jan 2008 09:44:54 +0100 Post all your 
questions about iText here wroteNILADRI BHATTACHARYYA wrote:> it will be 
very helpful for me to start working on this kind of problem.Yes, it will. Some 
pointers:You talk about "window.open". As far as I know that's JavaScript, not 
JSP;so if you investigate any further: please don't confuse people by talking 
about JSPwhen in fact you mean JavaScript. (Unless I'm mistaken. Anyhow, I'm 
confused.)As you know, PDF files are binary, and JSP is NOT SUITED to 
createbinary files (unless you have a good understanding of JSP). This is 
documentedon many different places. People posting questions about JSP on 
 this mailing listprove they haven't read the documentation.My knowledge of 
Struts is limited (I've only written one Struts applicationabout 3 years ago), 
but I remember that you can redirect to a Servlet.That's what you should do.You 
are asking how to build a web application. The fact that you aregenerating PDF 
is irrelevant in your question. The content you are generatingfor the 'other 
browser windows' could be anything: PDF, JPG, PNG, RTF,...The answer to your 
question would be the same for any of those binary formats.That's why your 
question is off-topic on this list.Please post it on a Struts forum.br,Bruno

**************************
Niladri Bhattacharyya
Bangalore
Cell: 9448168545
**************************
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/

Reply via email to