I have to state that chaining actions, even if you want to do that, is
a bad policy.  As others have pointed out on the list, you can
instantiate the actions down the chain inside one another and avoid
chaining actions and still get the desired behavior.  However,
creating a utility class in the model makes more sense for reuse, etc.

Jack


On Sat, 15 Jan 2005 11:22:00 -0700, Jim Barrows <[EMAIL PROTECTED]> wrote:
> On Fri, 14 Jan 2005 18:12:24 -0800 (PST), Manisha Sathe
> <[EMAIL PROTECTED]> wrote:
> > I do know what exactly could be the problem
> >
> > I am having one JSP which calls Main Action Handler - this does some 
> > database job and get userid. This id i want to pass it to another page. If 
> > it is a direct JSP page then i can make use of something like 
> > request.setAttribute....and can get the value.
> >
> > But if it is calling another struts Action Handler then seems value is not 
> > passed. I aways get in another Action Handler as null. Currently i put it 
> > in the session scope - but which i do not want. Is there any good solution 
> > to this ?
> 
> Well, chaining actions is not considered good practice.. but if you
> have to.. why not put it in the session?
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


-- 
------------------------------

"You can lead a horse to water but you cannot make it float on its back."

~Dakota Jack~

"You can't wake a person who is pretending to be asleep."

~Native Proverb~

"Each man is good in His sight. It is not necessary for eagles to be crows."

~Hunkesni (Sitting Bull), Hunkpapa Sioux~

-----------------------------------------------

"This message may contain confidential and/or privileged information.
If you are not the addressee or authorized to receive this for the
addressee, you must not use, copy, disclose, or take any action based
on this message or any information herein. If you have received this
message in error, please advise the sender immediately by reply e-mail
and delete this message. Thank you for your cooperation."

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

Reply via email to