You are referring to Action chaining?
This is discouraged as it leads to all sorts of problems...

...but wheres the fun in that eh?

If you want to chain actions you can have the first actions actionForward
point at the next, etc...
Be aware that the RequestProcessor will repopulate the form from the request
for each action you forward to. (You can of course modify this behaviour by
overridding the RequestProcessor - which is pluggable - with you own
subclass of it).

However, as I mentioned, action chaining generally tends to be a bad idea,
and a perceived need for it can often indicate a flaw in your design.

-----Original Message-----
From: Souravmay Das [mailto:[EMAIL PROTECTED]]
Sent: Monday, 27 January 2003 20:14
To: [EMAIL PROTECTED]
Subject: how to call more than one Struts Action for a given HTTP
request


Hi All,
            I have a question can we call more than one Struts action for a
HTTP Request. Do you have any idea how to do it. The basic idea of having
more than one Struts actions, is for getting more fine grained reusable
component.

With regards,
Sourav Das



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

Reply via email to