0

I have a jsp page to take input from user and want to store values in database with the confirmation message on the same jsp page . But I already have stored an array list in session during processing of other pages of other modules of my project . Now I want to know that how can I store more variables in session along with arraylist so that I can display confirmation message on the jsp page made for taking input . Can I simply add variables one after another ,like two string variables and an int variable after already saving arraylist in session.

2
Contributors
1
Reply
2
Views
9 Years
Discussion Span
Last Post by peter_budo
0

You can have multiple beans as you already showed in other post and in same way in the session you can manipulate number of them. Nothing is stopping you from creating new instance of same bean class used for different purpose

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.