日期:2014-05-17  浏览次数:20716 次

sructs1中select取值(html和stucts1标签)
下两是用stuct1标签库和直接html写的从后台读出下拉框的值
<html:select property="platformPaymentTO.paymentProviderId" onchange="initCreatPayment();"><html:options collection="paymentServicesList" property="paymentIdlabelProperty="paymentDesc" />
</html:select>


<select property="platformPaymentTO.paymentProviderId""> <c:forEach items="${paymentServicesList}" var="item"><option value='<c:out value="${item.varName}"/>'><c:out value="${item.varName}"/></option></c:forEach><select>