自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(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 343

转载 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 777

转载 servlet中如何获得pageContext

1.获取pageContextJspFactory jsp1 = JspFactory.getDefaultFactory();        PageContext pageContext = jsp1.getPageContext(this, request, response, null,true,8192, true);////this表示本类servlet对象

2013-07-06 11:21:58 1260

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除