为什么el表达式获取不到值
public class ThreadPoolVO {
private String threadName;
private String appEndpointType;
public String getThreadName() {
return threadName;
}
public void setThreadName(String threadName) {
this.threadName = threadName;
}
public String getAppEndpointType() {
return appEndpointType;
}
public void setAppEndpointType(String appEndpointType) {
this.appEndpointType = appEndpointType;
}
}
//获取线程池名称
List<ThreadPoolVO> threadPollList = threadPoolConfiginfoService.getThreadpoolNameByType(ENDPOINTTYPE);
request.setAttribute("threadPollList", threadPollList);
<td>线程名称:<select id="threadName">
<c:forEach var="thread" items="${threadPollList }" varStatus="status">
<option value="" selected="selected">${thread.threadName }</option>
</c:forEach>
</select></td>
为什么页面上获取不到,求解答,${threadPollList }这个是可以取到的