This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I am trying to display a dynamic multibox for which the entries are retrieved from a database table. I have a ActionForm containing an ArrayList for holding all possible values as LabelValueBean and a String array to hold the selected items. Now I am trying to populate this form from Action class and forward to jsp which iterates over the ArrayList and displays the multibox. The problem is while populating the ActionForm ArrayList from the Action class, for some reason jsp gets a null ArrayList. I tried to populate a text box the same way it works but not the ArrayList or any Array. Am I missing any initialization? Would be great if you could post a code that does this work. Please note that I want to populate the ActionForm from Action class.