随笔分类 -  BUG

摘要:来自:http://www.cnitblog.com/houcy/archive/2012/11/28/86801.html1.用top命令查看哪个进程占用CPU高gateway网关进程14094占用CPU高达891%,这个数值是进程内各个线程占用CPU的累加值。PIDUSERPR NI VIRTR... 阅读全文
posted @ 2015-07-06 10:06 悟寰轩-叶秋 编辑
摘要:getOutputStream() has already been called for this response异常出现的原因和解决方法:jsp中出现此错误一般都是在jsp中使用了输出流(如输出图片验证码,文件下载等),没有妥善处理好的原因。具体的原因:jsp编译成servlet之后在函数_jspService(HttpServletRequest request, HttpServletResponse response)的最后有一段这样的代码Java代码finally{if(_jspxFactory!=null)_jspxFactory.releasePageContext(_jsp 阅读全文
posted @ 2013-05-23 15:25 悟寰轩-叶秋 阅读(663) 评论(0) 推荐(0) 编辑
摘要:1 <%@page import="java.net.URI"%> 2 <%@page import="java.io.IOException"%> 3 <%@page import="org.apache.http.HttpHost"%> 4 <%@page import="org.apache.http.HttpResponse"%> 5 <%@page import="org.apache.http.HttpStatus"%> 6 阅读全文
posted @ 2012-12-17 16:32 悟寰轩-叶秋 阅读(2223) 评论(0) 推荐(0) 编辑
摘要:找/opt/下的所有jsp,拷贝到/dirlinux下 find /opt -name *.jsp|xargs cp -a --target-directory=/dir/ --parents windows 下 for /r e:\t6_chinamaxx %1 in (*.jsp) do copy %1 g:\dir /Ylinux下 find . -name *.jsp|xargs cp -a --target-directory=/dir/ --parentsfind . -name "*.jsp" | xargs egrep -liw "createNe 阅读全文
posted @ 2012-12-03 18:00 悟寰轩-叶秋 阅读(761) 评论(0) 推荐(0) 编辑
摘要:抓取链接里的图片时通常和rss原理的url不是对应的,中间可能会有跳转,用到了如下方法: private String getWebRealPath(String src, String link) {try {if (src.startsWith("/")) {link = getRealLink(link);src = link.substring(0, link.indexOf("/", 7)) + src;}if (src.startsWith("./")) {link = getRealLink(link);src = li 阅读全文
posted @ 2012-12-03 17:29 悟寰轩-叶秋 阅读(566) 评论(0) 推荐(0) 编辑
摘要:前些天一直在做报表的统计视图,发现一些问题,在此做一个总计:1,枚举最好不要用在插入数据中,windows下没问题,Linux回报jFreeChar 105错误2,插入数据不能为空,从表中查询数据时要判空3,Action直接返回图表的应注意,加载页面时的Action与此不同步……柱形图饼状图 阅读全文
posted @ 2012-12-03 17:24 悟寰轩-叶秋 阅读(297) 评论(1) 推荐(0) 编辑
摘要:更新服务器字体和jdk字库utf-8。 阅读全文
posted @ 2012-12-03 17:21 悟寰轩-叶秋 阅读(302) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示