<snip src="javadoc for Action class">
Return an ActionForward instance describing where and how control should be
forwarded, or null if the response has already been completed.
</snip>

A quick glance at the javadocs will show that you need only to return null
from your action instead of an ActionForward.

-----Original Message-----
From: Christian Burger [mailto:[EMAIL PROTECTED]
Sent: Monday, 10 November 2003 19:23
To: [EMAIL PROTECTED]
Subject: Action Class: Print into respone


Hello,

I want to generate on the fly data which I want to print into the response
stream. This is not the problem: The poblem is that any Struts Action
shall return with an ActionForward instance.
Yes, I could generate a temporary file in which I would print. I could
furthermore create an ActionForward instance which points to that file.
But later on I would have to take care to clean up, etc.

Somebody has an idea?

best regards
Christian

_________________________________________________________________
Please be advised that the information contained herein is confidential and
intended only for use by the individual stated above. If you are not the
named recipient, you are hereby notified that any disclosure, distribution,
dissemination, or copying is prohibited. If this information has been
directed to you in error, please contact the sender immediately at the
telephone number listed above.


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

Reply via email to