This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "DispatchAction" Watch "DispatchAction" New topic
Author

DispatchAction

raghavendra vema
Greenhorn

Joined: Jun 12, 2005
Posts: 25
ranchers
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)

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

Raghavendra Vema SCJP 1.4 SCBCD 1.3
 
wood burning stoves
 
subject: DispatchAction
 
Similar Threads
EASY MOCK
Q: dynamic forwarding with DispatchAction
setRollbackOnly() related question
implementing multiple inheritance in java
am I thread safe with this dispachAction?