这个怎么改呢?
你到底用什么啊。jsp的el表达式,还是struts2的ognl表达式。
这两个不能混合着用吧。
要么那你就纯jsp 写页面。
${deptname}
/c:foreach
你到底用什么啊。jsp的el表达式,还是struts2的ognl表达式。
这两个不能混合着用吧。
要么那你就纯jsp 写页面。
<select name ='deptid' >
<c:foreach item='${deptlist}' var ='dept'>
<option value='${deptid}'>${deptname}</option>
</c:foreach>
</select>