java中:setAttribute 其中是string
jsp中 :
<c:forEach items="${list}" var="lName">
${lName} </br>
</c:forEach>
如果我的list中是对象User,只需要lName.name就行了.其中items是必须的
java中:setAttribute 其中是string
jsp中 :
<c:forEach items="${list}" var="lName">
${lName} </br>
</c:forEach>
如果我的list中是对象User,只需要lName.name就行了.其中items是必须的