Hi,

I have a chain of actions that require the first action to place a bean
in the session for a second action to retrieve. Is it possible to figure
out in the first action the name of the attribute the second action will
search for its bean under?

for instance, instead of saying:

session.setAttribute("userForm", userForm);
return mapping.findForward("success");

and then in the second action:

session.getAttribute(mapping.getAttributeName())

Is there something similar to the following I can say?

session.setAttribute(mapping.findForward("success").getXXXX().getAttributeName(),
userForm);

this way if the attribute of the second action changes, I won't have to
change the code for the first action

thanks

Mark
Mark Stacey

I'm using Vodafone Mail - to get your free mobile email account go to 
http://www.vodafone.ie
Use of Vodafone Mail is subject to Terms and Conditions  
http://www.vodafone.ie/terms/website




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

Reply via email to