Does any have this need to store ActionForm in session with different keys?
The normal way to set the attribute is to do the following in the Action,
session.setAttribute(mapping.getAttribute(), regform);
What we need is
for http://www.domainA.com
session.setAttribute(get_domainA_attribute, regform);
for http://www.domainB.com
session.setAttribute(get_domainB_attribute, regform);
so, different form info can be put in the session at the same time.
I have tried to call mapping.setAttribute() in RequestProcessor, but got a
configuration locked error.
I am going to try extend ActionMapping and override the
mapping.getAttribute/setAttribute method. Is this the
right way to go?
Could anyone help? I do think this should be a struts feature if it is not
there yet. BTW, we have our
whole registration built on top of struts and it runs very well.
Thanks,
Ben
============================================================================
====
Benjamin Sun ;) Be passionate:
No muscle is stronger than a human
heart
Knight Ridder Digital
Home of RealCities.com
http://www.realcities.com
Email: [EMAIL PROTECTED]
Phone: (O) 1.408.938.6120
(C) 1.650.279.0014
Yahoo: sunb0930
AOL : bensun888
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]