- 浏览: 110689 次
- 来自: ...
最新评论
-
happyeoe:
[u][/u]引用[*][*]
OpenFire 用户密码加密方法 -
zfms:
handlePresence 请问这个方法您那边加好友的时候触 ...
JWChat源码研究心得 -
zhmy0129:
...
Bat 加载 jar 文件. -
lw150:
jwchat性能有问题
JWChat源码研究心得 -
皓月之光:
...
Spring AOP 写日志,取request、session、application
文章列表
Log4c 实现配置文件动态参数。
string rootPath = StringUtil::getProjectPath(); string path = rootPath+"config/log4j/log4cxx.properties"; FileInputStreamPtr propFile = new FileInputStream(path); helpers::Properties props; props.load(propFile); vector<LogString> keys =props.propertyNames(); fo ...
附件中 VisoStudo2010 KB2251084 补丁下载
中秋节到啦,送给大家一个《万年星期历公式 》 该公式是根据公历的基本性质编制的,年份不限,准确率为100%, 公式如下: (年+年/4+年/400-年/100+月日天数-1)/7=XX……余星期几。 其中: (年+年/4+年/400-年/100)/7=XX ...
正则表达式按条件分组
- 博客分类:
- JAVA
有一个字符串:A63=[174001,1级],B63=[174001, 2级],C63=[174001, 3级]。 我要对这个字符串中分号进行分组,但是在中括号里面的除外. 示例代码如下 :
String temp="A63=[174001,1级],B63=[174001, 2级],C63=[174001, 3级]"; String arg[]=temp.split("(?<![^\\[(.+?)\\]])(,)"); for(String aaa:arg){ Syste ...
A table is created ...
create table safe_to_number_t (
txt varchar2(10)
);
... and filled with text of which some can be converted to numbers:
insert into safe_to_number_t values ('1.0' );
insert into safe_to_number_t values ('1' );
insert into safe_to_number_t values ('22 ...
我们在启动JDeveloper 的时候总是碰到: Unable to create an instance of the Java Virtual Machine,解决方法如下:到 installation_directoy\Middleware\JDeveloper\jdev\bin 文件夹下面,打开jdev.conf文件,里面有一行代码如下: AddVMOption -XX:MaxPermSize=256M",在下面加一行新的代码如下:
AddVMOption -Xmx256M
SQL sentence
- 博客分类:
- PLSQL
select d.id as ValueId, d.domain_code as DomainCode, ls.value_type as ValueType, case when v.key_code is null then d.domain_code when length(v.key_code)>0 then ls.key_code ...
一个基于扩展: ChildPropertyTreeModel ,用递归实现的动态树. 自己花了点时间搞了个demo, 希望对后来学习的人有点帮助。 这里做一些内容的介绍:
1: 递归实现:parentId: 树的根节点: treeNode: 当前节点的父节点,如果不是父节点,就 ...
At runtime, the following security sequence is performed for ADF Security protected applications:
1. A user requests an ADF bound ADF Faces page or bounded task flow.
2. The ADF Security layer in ADF checks whether security is enabled for the ADF
application configuration.
3. If security is enabl ...
ADF Lifecycle has 9 phases as follows:
1: Initialize Context: In this phase value of associated request, binding container and lifecycle are set.
2: Prepare Model: In this phase model is prepared and initialized. In this phase page parameters are set and methods in the ex ...
Sometimes you want to perofrm some validations and based on the result, forward to other ADF pages.You can follow one of these following approches.Approach I/* Forward to page "myPage.jspx" */FacesContext fc = FacesContext.getCurrentInstance();UIViewRoot viewRoot = fc.getApplication().getVi ...
Users
A user, or enterprise user, is an end-user accessing a service. User
information is stored in the domain identity store, typically instantiated by
the WebLogic Server DefaultAuthenticator. An authenticated user is a user whose
credentials have been validated.
An anonymous user
is a ...
下面是代码,附件是二个jar文件
/* * To change this template, choose Tools | Templates * and open the template in the editor. */
/* * NewJFrame.java * * Created on 2010-12-16, 6:55:38 */
package jna;
import com.sun.jna.Native;import com.sun.jna.platform.win32.User32;import com.sun.jna.platform.win32.WinDef.H ...
类型
java 数组
ArrayList
LinkedList
Vector
随机访问操作(get)
16
23
63
31
迭代操作(Iterate)
31
47
33
48
插入操作(insert)
不适用
1610
31
1625
删除操作(delete)
不适用
6625
16
6750