<#form:select path="yourId" items="${resultList}"
itemLabel="beanName" itemValue="id" multiple="true" class="form-control required" blankOption="true" />
var selectValue="";
$("#yourId").find("option:selected").each(function () {
selectValue += $(this).text() + ","
});