![](https://img-blog.csdnimg.cn/20201014180756780.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
java or js
文章平均质量分 57
普通网友
这个作者很懒,什么都没留下…
展开
-
java对象池化技术
使用Jakarta CommonsPool处理对象池化 恰当地使用对象池化技术,可以有效地减少对象生成和初始化时的消耗,提高系统的运行效率。Jakarta Commons Pool组件提供了一整套用于实现对象池化的框架,以及若干种各具特色的对象池实现,可以有效地减少处理对象池化时的工作量,为其它重要的工作留下更多的精力和时间。创建新的对象并初始化的操作,可能会消耗很多的时间。在这种对象转载 2014-01-20 16:37:15 · 1536 阅读 · 0 评论 -
compass+SSH 的spring配置文件
<beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:context="http://www.springframework.org/schema/context" xmln转载 2014-01-20 16:47:50 · 548 阅读 · 0 评论 -
java文件读写操作大全
转自http://blog.sina.com.cn/s/blog_4a9f789a0100ik3p.html一.获得控制台用户输入的信息 public String getInputMessage() throws IOException...{ System.out.println("请输入您的命令∶"); byte b转载 2014-02-10 15:45:07 · 361 阅读 · 0 评论 -
页面iframe内查找关键字,从数据库读取相关文章
<%String path = request.getContextPath();String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";%> "> My JSP 'test.jsp' starting原创 2014-02-22 13:43:35 · 997 阅读 · 0 评论 -
scrollTop浏览器不兼容解决方法
IE8 和Firefox27.0.1 对jquery的$("body").scrollTop();值为0而chromium可以识别但是对document.documentElement.scrollTop,chrominum却识别为0chrominum只识别document.body.scrollTop由于这两者在不同的情况下会取0但是两者同时出现的时候只有一个会0所以解决原创 2014-03-06 13:54:06 · 1246 阅读 · 0 评论