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.
From your requirements following is the solution I could provide.
Here's what you need to do:
1. On your jsp, define a multibox (<select> with multiple true), one for List L, and other one for List R.
2. Assign form properties to these two select boxes.
3. Between the two list boxes you can give an arrow image to point from left to right (or any such image/button etc to on click of which the selected values should transfer to List R).
5. Lastly get the elemet for List R, by document.getElementById() and assign that array to the List R