<form:select path="mperson.dept_cd">
<form:options items="${mDeptList}" itemValue="dept_cd" itemLabel="dept_name1" htmlEscape="true"/>
</form:select>
上面的这个怎么用啊,里面的属性都是什么意思啊?
还有就是:
model.addAttribute("doctoruser",page);
model.addAttribute("tcuser", tcuser);
model里可以像上面那样存两个东西吗?(在一个方法里面)
还有就是在jsp里怎么取啊?取一个我会:<form:form modelAttribute="tcuser">取两个怎么取啊?
希望大家帮帮忙。先谢谢了。
<form:options items="${mDeptList}" itemValue="dept_cd" itemLabel="dept_name1" htmlEscape="true"/>
</form:select>
上面的这个怎么用啊,里面的属性都是什么意思啊?
还有就是:
model.addAttribute("doctoruser",page);
model.addAttribute("tcuser", tcuser);
model里可以像上面那样存两个东西吗?(在一个方法里面)
还有就是在jsp里怎么取啊?取一个我会:<form:form modelAttribute="tcuser">取两个怎么取啊?
希望大家帮帮忙。先谢谢了。
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货