This week's book giveaway is in the OCAJP forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide 1Z0-808 and have Jeanne Boyarsky & Scott Selikoff on-line! See this thread for details.
Hi Can anyone please provide pointers on how to populate drop down select boxes based on values set in collections. Any code snippet that depicts how the state of the selected option can be retained would be great.
This is my first spring webapp, and my current workaround is to have the html <select><option>...., retrieve the value in the controller and set it in the command. This value is retrieved in the jsp using scriptlets and renderd back. I do realize that this is not the most optimal solution so any pointers will be appreciated.