摘要:
定义一个实体类的时候一定注意变量名的首字母一定小写!!!!!!!!!大写就错了,set、get方法无所谓 如:1.WEB_01中vo包中的PageBean类中 List<T> currentPageList这时候的变量名的首字母一定要是小写!!!!,大写就错了,set、get方法无所谓 注:这是几年 阅读全文
摘要:
分页显示: 1.当前页是第几页int currentPage 2.当前页显示的条数int currentPageCount 3.当前页显示的数据List<T> currentPageList 4.总条数int allListCount 5.总页数int allPageCount 阅读全文
摘要:
前台得到当前应用的名称: ${ pageContext.request.contextPath } 后台得到当前应用的名称: request.getServletContext().getContextPath(); 阅读全文