2020
10-10
10-10
java中下拉框select和单选按钮的回显操作
前提:<%@tagliburi="http://java.sun.com/jsp/jstl/core"prefix="c"%>1.下拉框select<selectname="departmentId"id="departmentId"><optionvalue="0">请选择部门</option><c:forEachitems="${departmentList}"var="department"><!--下拉框回显--><optionvalue="${department.id}"<c:iftest="${department.id==departmentId}">selected="selected"</c:if>>${departmen...
继续阅读 >