Two Laptop Bag
The moose likes Struts and the fly likes DispatchAction Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "DispatchAction" Watch "DispatchAction" New topic


raghavendra vema

Joined: Jun 12, 2005
Posts: 25
I am using DispatchAction in struts, got a class MemberDispatchAction which extends DispatchAction, I would like to know if the same request object is available in all the actions(methods) embedded in the MemberDispatchAction class..

i.e. I have two methods ActionForward MethodA and ActionForward MethodB in MemberDispatchAction, if I set an Attribute 'testValue' on request in MethodA, will it be available in MethodB by using (String)request.getAttribute(testValue)

[ December 02, 2005: Message edited by: raghavendra vema ]

Raghavendra Vema SCJP 1.4 SCBCD 1.3
I agree. Here's the link:
subject: DispatchAction
It's not a secret anymore!