Manuel EspaƱol wrote:
If I do only one click over the link all works well, but if I do a
double click over the link the server sends an error page because the
program (the 'execute' method of the Action) throws the
Exception-->DocumentException: the document has been closed. You can`t
add any Elements.
This isn't normal, is it? How can I solve this problem?
You probably have a design problem.
The document object is probably part of a user session.
When I generate documents like this, I generate them in a Thread
that has a member variable that keeps the status of the document;
in most cases I define the status is an int that indicates which step
of the generation is busy (remember the 5 steps of the HelloWorld
example).
br,
Bruno
-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions