This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
I have an object created in action class (action1) as a result of user entering details in a form (say form1).
Now I have next form as form2 where user enters some more details for that object.
Initially I put the object created during action1 into the request scope. Now i would like to know how will i retrieve the object at form2 and pass it on to action2 using struts tag, so that I can add some more details to the same object as given by the user in the form2.
I am sorry if I am not clear with my explanations. Please tell me if I should rephrase it..
Can you please elaborate me how I can do that.
For example if I am storing the object in session in the form1 action(ie action1), I would like to know how I can access that object in form2.jsp using struts tag and pass it to the form2 action..
And one more thing - Can I use hidden field for custom objects.