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>	

你可能感兴趣的:(java,html)