- 博客(3)
- 收藏
- 关注
转载 mysql limit分页优化方法分享
MySQL的优化是非常重要的。其他最常用也最需要优化的就是limit。MySQL的limit给分页带来了极大的方便,但数据量一大的时候,limit的性能就急剧下降。 同样是取10条数据 select * from yanxue8_visit limit 10000,10 和 select * from yanxue8_visit limit 0,10 就不是一个数量级别的
2013-07-14 11:07:25
373
转载 pageContext.findAttribute()与pageContext.getAttribute()的区别
1、abstract Object findAttribute(String name) Searches for the named attribute in page, request, session (if valid), and application scope(s) in order and returns the value associated or null.
2013-07-14 11:04:24
859
转载 servlet中如何获得pageContext
1.获取pageContext JspFactory jsp1 = JspFactory.getDefaultFactory(); PageContext pageContext = jsp1.getPageContext(this, request, response, null, true,8192, true);// //this表示本类servlet对象
2013-07-06 11:21:58
1324
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人