On 7/10/06, Thomas Joseph <[EMAIL PROTECTED]> wrote:
Hi all,
I have got a strange problem. My action class generates PDF, and writes on
the the response and fushes it, but I can see that this action is getting
called multiple times (2-5 times). I have cheked my struts-config to be just
perfect (
truts Users Mailing List
Subject: Re: Action called multiple times
Hi,
just to be sure: in the Action, you do a
return null;
if everything is successful?
Everything else looks ok [1] or at least shouldn't trick Struts into
rerunning the action. You might want to set the ContentType in the
respon
Hi,
just to be sure: in the Action, you do a
return null;
if everything is successful?
Everything else looks ok [1] or at least shouldn't trick Struts into
rerunning the
action. You might want to set the ContentType in the response, though.
Ulrich
[1] that is, looks just like my code, which j
Hi Martin,
I am delegating the pdf generation from the action class to a different
class, that uses itext to generate PDF, which inturn provides the bytestream
to the action class. Action Class writes these bytes to the browser and then
flushes the stream.
Here is the sample code for your referen
Thomas Joseph-
How are you generating the PDF?
Martin --
*
This email message and any files transmitted with it contain confidential
information intended only for the person(s) to whom this email message is
addressed. If you hav
5 matches
Mail list logo