I have queried DB and set that object in Action class and set that back to jsp to display results. Now I want the same object into another or same action class. How do I do that.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I haev also faced same issue and implemeted in the following manner. find if it is useful.
You have use conversion technique to speficy what type of Object are you going to store in the list. Then i have set it in hidden feild in jsp. then i am able to retrive it in action class.
http://struts.apache.org/2.0.14/docs/type-conversion.html