用struts的方法进行页面显示×××pagetest.jsp×××
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %><logic:equal name="page" property="hasNextPage" value="true">
  <html:link page="/page.do?action=nextPage">nextPage</html:link>
</logic:equal>
×××PageBean.java×××
boolean hasNextPage=false; (并对它进行判断操作)×××PageListAction.java×××
request.setAttribute("page",pb);但是一运行就出错:
javax.servlet.ServletException: No bean found under attribute key page只要删除这个参数:property="hasNextPage",就可以正常运行
为什么?如果,想要这个参数请问该怎么做?