posted 20 years ago
Hi,
I have a LoginAction, that uses the form bean loginForm, consisting of loginname and password fields. On a successful login, I am displaying a logged in user's activity. So, in the LoginAction, I am populating userActivity form bean, settings its action property to be "showactivity". I'm setting this userActivity form bean in the request attribute with the name specified in struts-config.xml. The execution is then passed onto success actionForward for LoginAction, which points to the ShowAction, expecting userActivity form bean.
With logging on, what I see is that the userActivity form bean is being picked up from LoginAction, but values being populated are loginname and password, and not action field.
What am I missing here ? What I want to do here is to populate userActivity form bean from LoginAction, pass execution to ShowAction and let it display results, rather that LoginAction doing the processing for displaying a user's activity.
Thanks for the help.
Mallika.