<c:choose>
<c:when test="${fn:indexOf(cropland.produce,',')!=-1}">
<select name="produceID" style="width:120px">
<c:forEach items="${fn:split(cropland.produce,',')}" var="val" varStatus="vs" >
<option value="${fn:split(cropland.produceIDs,',')[vs.index]}">${val}</option>
</c:forEach>
</select>
<%--
${fn:split(cropland.produce,',')[1]}
<c:forEach items="${fn:split(cropland.produce,',')}" var="val" varStatus="vs" >
${val}<input name="produce" type="radio" value="${val}" /> ${vs.index}
</c:forEach>
--%>
</c:when>
<c:otherwise>
<input type="text" name="produce" readonly="readonly" value="${cropland.produce}"/>
<input type="hidden" name="produceID" readonly="readonly" value="${cropland.produceIDs}"/>
</c:otherwise>
</c:choose>
<c:when test="${fn:indexOf(cropland.produce,',')!=-1}">
<select name="produceID" style="width:120px">
<c:forEach items="${fn:split(cropland.produce,',')}" var="val" varStatus="vs" >
<option value="${fn:split(cropland.produceIDs,',')[vs.index]}">${val}</option>
</c:forEach>
</select>
<%--
${fn:split(cropland.produce,',')[1]}
<c:forEach items="${fn:split(cropland.produce,',')}" var="val" varStatus="vs" >
${val}<input name="produce" type="radio" value="${val}" /> ${vs.index}
</c:forEach>
--%>
</c:when>
<c:otherwise>
<input type="text" name="produce" readonly="readonly" value="${cropland.produce}"/>
<input type="hidden" name="produceID" readonly="readonly" value="${cropland.produceIDs}"/>
</c:otherwise>
</c:choose>