I think the official documentation gives you
the answer to this one (albeit in a fairly nonspecific way):This method is the
dynamic equivalent of the ...
分类:
其他好文 时间:
2014-05-14 03:31:06
阅读次数:
223
第一次在博客园上面写博客,知识因为看书的时候发现了一些有意思的知识,顺便查了一下资料,就发到博客上来了,希望对大家有点帮助。
连续几天阅读《javascript高级程序设计》这本书了,逐渐发现了以前很多自己完全没有用过甚至见过的神奇知识点。今天在阅读到有关函数的属性和方法的时候,略感高级,...
分类:
移动开发 时间:
2014-05-14 01:46:25
阅读次数:
395
JavaScript实现弹窗报错
1、具体错误如下
SCRIPT 5022:cannot call methods on dialog prior to initialization;
attempted to call method 'open'.
2、错误原因
3、解决办法...
分类:
编程语言 时间:
2014-05-13 07:01:27
阅读次数:
463
Pat1016代码
题目描述:
A long-distance telephone company charges its customers by the following rules:
Making a long-distance call costs a certain amount per minute, depending on the time of day w...
分类:
其他好文 时间:
2014-05-13 06:45:05
阅读次数:
460
在安装完ambari-server并配置之后,选定客户端进行指定安装的时候,发现总是遇到这一错误AmbariAgenthostcannotreachAmbariServer‘localhost:8080‘.
我看了一下错误日志发现在从ambari-server传送到客户端的setupAgent.py脚本的main函数中的参数设置老是不对,如下所示:156d..
分类:
其他好文 时间:
2014-05-13 00:58:06
阅读次数:
598
一句话,回调是一种双向调用模式,什么意思呢,就是说,被调用方在被调用时也会调用对方,这就叫回调。“If you call me, i will call
back”。不理解?没关系,先看看这个可以说比较经典的使用回调的方式:class A实现接口InA ——背景1class A中包含一个class ...
分类:
编程语言 时间:
2014-05-12 21:24:29
阅读次数:
508
1.doGet和doPost的区别,在什么时候调用,为什么有时doPost中套用doGet2.提交的formmethod=Post就执行DOPOST,否则执行GOGET
套用是不管method是post还是get都执行dopost方法3.get:你可以通过URL传参数。http://www.csdn...
分类:
其他好文 时间:
2014-05-12 20:42:32
阅读次数:
323
异常:The absolute uri: http://java.sun.com/jsp/jstl/core cannot be resolved in either web.xml or the jar files deployed with this application
这是因为页面中用了struts标签的原因。
解决方法:
1。下载jstl1.1 解压后把lib文件夹下的jstl....
分类:
编程语言 时间:
2014-05-11 21:44:48
阅读次数:
364
public class ThreadTest implements Callable {
public String call() throws Exception {
// TODO Auto-generated method stub
wait(10000);
return "hello";
}
}调用代码:
public static void main(Stri...
分类:
编程语言 时间:
2014-05-11 21:27:24
阅读次数:
533
package com.ctl.util;
import java.io.IOException;
import java.lang.reflect.Field;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
import java.sql.Connection;
impo...
分类:
数据库 时间:
2014-05-11 21:04:49
阅读次数:
501