- 浏览: 184869 次
- 性别:
- 来自: 成都
最新评论
-
donggongai:
Blackbaby 写道mazhi4562qq 写道moist ...
openfire集成现有系统的用户表 -
Blackbaby:
mazhi4562qq 写道moistrot 写道哥们,你集成 ...
openfire集成现有系统的用户表 -
mazhi4562qq:
moistrot 写道哥们,你集成成功了吗?我这样集成之后,登 ...
openfire集成现有系统的用户表 -
dxcsingle:
哥们 我如今也遇到这个问题 能讲哈怎么处理么?
openfire集成现有系统的用户表 -
hooktoo:
该例子有很严重的问题,java没释放内存
JNative dll回调函数使用实例
文章列表
原文链接: http://www.cnblogs.com/kingcucumber/p/3142507.html
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; char ...
网络备忘
- 博客分类:
- wireshark监听本地包
命令行执行:
route add 10.120.0.56 mask 255.255.255.255 10.120.1.1 metric 1
10.120.0.56 本地地址 10.120.1.1 网关地址
参考:http://hi.baidu.com/btb368/item/8b530eb56a2cb7422aebe39f
Web聊天左右显示(整理自jing.fm)
- 博客分类:
- 备忘录
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; char ...
关于JVM说明的摘要
- 博客分类:
- java
If the JVM is launched with the JPDA (Java Platform Debugger Architecture) enabled, a class is dynamically reloadable. After the JVM loads a class, the old version of the class definition can be unloaded and a new one can be reloaded again. That is, the definition of that class can be dynamica ...
final static HostnameVerifier DO_NOT_VERIFY = new HostnameVerifier() {
public boolean verify(String hostname, SSLSession session) {
return true;
}
};
//Trust every server - dont check for any certificate
private static void trustAllHosts() {
// Create a trust manager that does not ...
mvn eclipse:eclipse -Dwtpversion=1.0
public class Base62 {
private static final String baseDigits = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";
public static String toBase62(int decimalNumber) {
return fromDecimalToOtherBase(62, decimalNumber);
}
public static int fromBase62(String base ...
iframe高度适应
- 博客分类:
- javascript
var adjustIframe = function (id) {
var iframe = document.getElementById(id)
var idoc = iframe.contentWindow && iframe.contentWindow.document || iframe.contentDocument;
var callback = function () {
var iheight = Math.max(idoc.body.scrollHeight, idoc.documentElemen ...
top:分割窗口最高层次的浏览器窗口。采用如下方式进行访问:top.frames['sub_frm'].
parent:当前分割窗口的父窗口。采用如下方式访问:parent.document.
opener:指用window.open等方式创建的新窗口对应的原窗口。
iframe:在一个页面含有某个iframe,其id="iframeA" name="IframeA",此时使用document.getElementById("IframeA")取到的是iframe标签对象,通过该对象可以获取iframe的各个属性,例如src、fr ...
The new operator takes a function F and arguments: new F(arguments...). It does three easy steps:
Create the instance of the class. It is an empty object with its __proto__ property set to F.prototype.
Initialize the instance. The function F is called with the arguments passed and this set to b ...
function is(type, obj) {
var clas = Object.prototype.toString.call(obj).slice(8, -1);
return obj !== undefined && obj !== null && clas === type;
}
is('String', 'test'); // true
is('String', new String('test')); // true
In the above example, Object. ...
public abstract class AbstractHibernateDAOImpl<T extends Serializable, KeyType extends Serializable> extends HibernateDaoSupport {
protected Class<T> domainClass = getDomainClass();
/**
* Method to return the class of the domain object
*/
protected abstract Cl ...
web.xml
<?xml version="1.0" encoding="UTF-8"?>
<web-app id="tomcat-demo" version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.s ...
saveOrUpdate()作用: 1.如果对象已经在本session中持久化了,不做任何事; 2.如果另一个与本session关联的对象拥有相同的持久化标识(identifier),抛出一个异常; 3.如果对象没有持久化标识(identifier)属性,对其调用save(); 4.如果对象的持久标识(identifier)表明其是一个新实例化的对象,对其调用save(); 5.如果对象是附带版本信息的(通过或) 并且版本属性的值表明其是一个新实例化的对象,save()它.