自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(48)
  • 收藏
  • 关注

转载 npm install -g — ERR!

sudo chown -R $USER /usr/local/lib/node_modules 转载于:https://my.oschina.net/u/1426871/blog/637...

2016-03-15 10:06:00 119

转载 XMLHttp使用

XMLHttpRequest 对象提供了对 HTTP 协议的完全的访问,包括做出 POST 和 HEAD 请求以及普通的 GET 请求的能力。XMLHttpRequest 可以同步或异步地返回 Web 服务器的响应,并且能够以文本或者一个 DOM 文档的形式返回内容。 尽管名为 XM...

2015-04-09 15:28:00 102

转载 :eq or :nth-child

$("td:eq(1)> span" ).hide(); 这段代码无效,原因不明。 我的理解是循环TR 下第二列,但是实际情况没有循环 $("td:nth-child(2) > span" ).hide(); ...

2015-04-09 15:28:00 98

转载 msg error 5 getting session names

to send a message to another pc, first you must be using professional version or ultimate version.assuming that you do,before you do this, b...

2015-04-09 15:28:00 465

转载 UDP 客户端接收

import java.io.InputStream;import java.net.DatagramPacket;import java.net.DatagramSocket;import java.util.Properties;public class UdpC...

2015-04-09 15:28:00 199

转载 form.submit() 出现对象不支持此属性或方法的原因

去除submit按钮属性 name ="submit" 转载于:https://my.oschina.net/u/1426871/blog/398057...

2015-04-09 15:28:00 168

转载 XMLHttpRequest对象responseText值

var xmlHttp = createXMLHttpRequest(function(){});executeXMLHttpRequest(xmlHttp,'',false);xmlHttp.onreadystatechange = function() { if(x...

2015-04-09 15:28:00 872

转载 删除邮件

public void deleteEmail() throws Exception { // 连接并打开邮箱 Store store = session.getStore(); try { ...

2015-04-09 15:28:00 145

转载 Android打开TXT文件

super.onCreate(savedInstanceState); setContentView(R.layout.main); Button button = (Button) this.findViewById(R.id.butt...

2015-04-09 15:28:00 632

转载 url转义字符

  2. 空格 URL中的空格可以用+号或者编码 %20   3. / 分隔目录和子目录 %2F   4. ? 分隔实际的 URL 和参数 %3F   5. % 指定特殊字符 %25   6. # 表示书签 %23   7. & URL中指定的参数间的分隔符 %26   8...

2015-04-09 15:28:00 935

转载 UDP 服务端发送

import java.net.DatagramPacket;import java.net.DatagramSocket;import java.net.InetAddress;import java.util.Date;public class UdpServer...

2015-04-09 15:28:00 115

转载 SQL 条件查询 三目运算符

casewhen search_condition then expression[when search_condition then expression]...[else expression]end as alias ...

2015-04-09 15:28:00 673

转载 JS函数无效或者对象不支持此属性或方法

<input id="delMember" type="button" onclick="delMember(this);" /> 以上代码出错,无法执行delMember(); 原因为函数名和ID相同。 ...

2015-04-09 15:27:00 249

转载 工作笔记

1.判断是否为空 if( object == null){ return null } 然后再去写实现的方法 2.增加新类型的导入,Setting-Compiler 3.去除空格前,先判断是否为空 4.hql ?号代替参数,防止S...

2015-04-09 15:27:00 61

转载 Setting Build Path has Encountered a Problem 错误解决

进入项目根目录, 找到项目的.classpath文件,直接删除,重新启动。 转载于:https://my.oschina.net/u/1426871/blog/398048...

2015-04-09 15:27:00 230

转载 DOM4J

public static void main(String[] args){ String templateFileName = xxx.class.getResource("/config.xml").getFile(); File input...

2015-04-09 15:27:00 111

转载 xmlHttp.open方法没有权限

转载于:https://my.oschina.net/u/1426871/blog/398050

2015-04-09 15:27:00 529

转载 log4J 无法输出信息到日志文件

导入文件错误,导入Java的logger。 转载于:https://my.oschina.net/u/1426871/blog/398051...

2015-04-09 15:27:00 502

转载 Jbpm 5 学习 (一)

//流程定义KnowledgeBuilder kbuilder = KnowledgeBuilderFactory.newKnowledgeBuilder();kbuilder.add(ResourceFactory.newClassPathResource("sample.bpmn"),...

2015-04-09 15:26:00 75

转载 jbpm 5.4 Spring

Spring using the JTA transaction manager The following code sample shows the Spring configuration file, configured for JTA tran...

2015-04-09 15:26:00 84

转载 创建表空间

<!-- lang: sql -->/*分为四步 *//*第1步:创建临时表空间 *//*第2步:创建数据表空间 */create tablespace testloggingdatafile '/u01/oracle/oradata/orcl/test_data.d...

2015-03-31 17:21:00 117

转载 初始化jdbcTemplate

<!-- lang: java --> Resource resource = new ClassPathResource("dev.properties"); Properties properties = null; try { p...

2015-03-16 11:16:00 2104

转载 maven发布项目

<!-- lang: xml --> <plugin> <groupId>org.codehaus.cargo</groupId> <artifactId>cargo-maven2-plugin</art...

2015-03-16 09:39:00 50

转载 查询oracle下所有表的记录数

SELECT NUM_ROWS,TABLE_NAME FROM user_all_tables ; 转载于:https://my.oschina.net/u/1426871/blog/...

2015-03-12 17:37:00 103

转载 Andeoid 学习2:hello world

找不到真机驱动问题,下载google use driver upgrade an existing Android USB driver on Windows 7 with the new driver: Connect your Android-powered devic...

2015-01-31 23:39:00 76

转载 Andeoid 学习1:(环境安装)

###环境安装 1. Android Studio 2. Gradle###使用过程中,SDK更新问题配置东软信息学院的 Android SDK 镜像mirrors.neusoft.edu.cn和80配置北京化工大学的Android SDK 镜像IPV4:ubuntu.bu...

2015-01-31 10:02:00 109

转载 过滤MAP

test Predicate<String>filter=newPredicate<String>(){@Overridepublicbooleanapply(Stringinpu...

2014-12-15 17:18:00 170

转载 ETL相关(二)

使用ETL过程中,日志的输出 默认会输出到控制台,这不是我们所需要的。这个时候需要添加监听器,捕获日志。 LoggingBufferloggingBuffer=KettleLogStore.getAppender();//获取日志适配器...

2014-12-12 13:41:00 158

转载 ETL相关

pentaho使用中,有个根目录概念,但是最近一次使用中发现无法配置, 查看示例代码的时候发现,${Internal.Job.Filename.Directory}指向了当前目录,无需主动获取,适用于JOB下有多个Transformation。 这样可以动态加载,无需通过变量控制文件路径。...

2014-12-12 13:38:00 72

转载 Extjs3.4 复制

this.view=newExt.grid.GridView({forceFit:true,cellTpl:newExt.Template('<tdclass="x-grid...

2014-12-09 13:18:00 151

转载 存储过程处理

写存储过程时,异常处理写法是:...EXCEPTION WHEN OTHERS THEN ROLLBACK;END ...这种写法当存储过程抛出异常时,我们不知道其到底抛出了哪种异常(比如列宽度不够大而在插入数据时抛异常),可以按如下方式显示异常信息EXCEPTION...

2014-12-01 11:23:00 131

转载 Oracle 启动

su - oracle sqlplus /nolog conn /as sysdba startup lsnrctl start; 转载于:https://my.osch...

2014-12-01 10:27:00 52

转载 batchUpdate

<updateid="batchUpdate"parameterType="java.util.List">updatetest<foreachcollection="list"item="item"index="ind...

2014-10-24 17:06:00 99

转载 JAVA String.format

//JAVAString.formatString.format("test[%s],范围([%.2f],[%.2f])内","",1.222,2.333) ...

2014-09-03 11:17:00 172

转载 生成CVS文件

FilenewFile=newFile(tempDir+File.separatorChar+UUID.randomUUID().toString()+".csv");Files.createParentDirs(newFile);...

2014-08-13 15:13:00 107

转载 Oracle 列转行 wm_concat

wm_concat 1234 变为 1,2,3,4 version : 10.2.0.5.0 Production 转载于:https://my.oschi...

2014-08-07 13:50:00 82

转载 关于IOC的讨论

http://stackoverflow.com/questions/871405/why-do-i-need-an-ioc-container-as-opposed-to-straightforward-di-code?rq=1 ...

2014-07-15 09:51:00 64

转载 获取tomcat应用PId

获取PId ps-ef|greptomcat|grepSMS|awk'{print$2}' kill-9${K}=`ps-ef|greptomcat|grepSMS|awk'{print$2}'` ...

2014-07-14 13:30:00 621

转载 Linux下Java进程的CPU占用率高

先用Top命令找出最高CPU的pid 查找最高的CPU Pid ps -mp 2364 -o THREAD,tid,time 将需要的线程ID转换为16进制格式:printf "%x\n" 2364 --> 943 最后打印线程的堆栈信息:jstack 23...

2014-07-14 13:26:00 69

转载 oracle 递归用法

SELECT × FROM table WHERE 1=1 start with id=1 connect by prior 上级Code =当前Code ...

2014-07-14 13:21:00 93

空空如也

空空如也

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

TA关注的人

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