jsp页面中得不到request.setAttribute的值?
在Action中:
TypeDAO typeDao = new TypeDAO();
List typeList = typeDao.findAll();
request.setAttribute("typeList",tyepList);
jsp页面中用<logic:iterate>循环:
<logic:iterate id="type" name="typeList" type="com.project.hibernate.type.Type" scope="request">
报错:request里没有typeList。
用<logic:empty>试过,typeList是空的。