2016年7月20日

摘要: 在idea里面,java代码:Runtime.getRuntime().exec("ps -aux") 是因为默认是用windows平台运行了,所以报错,得改成调用Linux平台运行: String[] cmd = new String[3];cmd[0] = "C:/Program Files ( 阅读全文
posted @ 2016-07-20 15:26 wheat_pear 阅读(1825) 评论(0) 推荐(0)

2016年6月20日

摘要: 解决: build.gradle里加入: 阅读全文
posted @ 2016-06-20 15:52 wheat_pear 阅读(957) 评论(0) 推荐(0)

2014年10月15日

摘要: XFire Java SOAP框架概述 (摘自:http://tech.it168.com/j/e/2006-10-28/200610281432707.shtml) MyEclipse Web Services是建立在XFire Java SOAP框架和工具基础上的, XFire是一款开源的Ja... 阅读全文
posted @ 2014-10-15 21:53 wheat_pear 阅读(173) 评论(0) 推荐(0)

2014年7月25日

摘要: COALESCE函数会依次检查输入的参数,返回第一个不是NULL的参数,只有当传入COALESCE函数的所有的参数都是NULL的时候,函数才会返回NULL 阅读全文
posted @ 2014-07-25 11:23 wheat_pear 阅读(365) 评论(0) 推荐(0)
 
摘要: sql: select a.id as 受理 from aSQLQuery sqlQuery=this.getSession().createSQLQuery(sb.toString()).addScalar("appId",Hibernate.STRING).addScalar("受理",Hibe... 阅读全文
posted @ 2014-07-25 11:19 wheat_pear 阅读(352) 评论(0) 推荐(0)
 
摘要: 1.原生sql: select a.id,a.name from aSQLQuery sqlQuery=this.getSession().createSQLQuery(sb.toString()); List list = sqlQuery.list();在action处理成map:2.hql:... 阅读全文
posted @ 2014-07-25 11:17 wheat_pear 阅读(851) 评论(0) 推荐(0)
 
摘要: 原来是写了一个select标签,然后用js循环取出来,发现问题是本来嵌在页面右边的页面整个弹出来,后来改成html:optionsCollection就好了:效果图: 阅读全文
posted @ 2014-07-25 11:08 wheat_pear 阅读(318) 评论(0) 推荐(0)
 
摘要: http://blog.csdn.net/haiyanstudent/article/details/32148207 阅读全文
posted @ 2014-07-25 10:56 wheat_pear 阅读(103) 评论(0) 推荐(0)

2014年5月8日

摘要: 父窗口打开子窗口页面:var fatherWindow = document.all.dealReason;//想传的值win = window.showModalDialog(strUrl, fatherWindow, "dialogWidth=800px;dialogHeight=600px;"... 阅读全文
posted @ 2014-05-08 11:44 wheat_pear 阅读(289) 评论(0) 推荐(0)

2014年5月5日

摘要: styleId妙用:在别的jsp可以这样取:document.all.parentCptlTotal.value或:在别的jsp可以这样取:document.all.parentCptlTotal.value 阅读全文
posted @ 2014-05-05 09:48 wheat_pear 阅读(454) 评论(0) 推荐(0)