自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(11)
  • 资源 (1)
  • 收藏
  • 关注

原创 spring aop "Advice precedence circularity error"

用spring的aspect进行aop编程时报出"Advice precedence circularity error" exception.google了一下发现只要将advice中的方法按照befor,around,after顺序排列即可解决。详细参考http://forum.springframework.org/showthread.php?t=58498...

2009-01-19 17:29:57 342

原创 XML Schema

What is an XML Schema?The purpose of an XML Schema is to define the legal building blocks of an XMLdocument, just like a DTD.An XML Schema:defines elements that can appear in a documentdefines a...

2008-12-21 13:37:08 89

原创 note

Apache ActiveMQ which is the most popular and powerful open source message brokerApache CXF which is a smart web services suite (JAX-WS)Apache MINA a networking frameworkApache Servic...

2008-12-20 23:07:13 133

原创 Elinks快捷键

突然有兴趣看看Linux下的字符模式的浏览器,搜了下有好几个,在Ubuntu里“添加/删除”里找到一个,叫Elinks,安装,然后在终端运行elinks,试用了一下,不错,使用方法也挺简单的,支持多标签,支持中文。按Esc键在帮助菜单找到快捷键,翻译一下,备忘,冒号分割符主界面键z:终止连接a:添加到书签A:添加连接到书签s:书签管理器C:缓冲管理器K:cookie管...

2008-11-18 23:46:40 246

原创 使用smslib实现java与手机的串口通信

http://smslib.org/ http://code.google.com/p/smslib/  http://bbs.et8.net/bbs/archive/index.php/t-667627.html http://zeroliu.iteye.com/blog/108536  http://hi.baidu.com/tianyistar/blog/item/9...

2008-11-10 23:50:05 139

原创 LRU/LFU/FIFO

LRU -Least Recently Used,没有被使用时间最长的LFU -Least Frequenty User,一定时间段内使用次数最少的FIFO  -First In First Out

2008-11-04 12:54:59 330

原创 String

字符串字面池指的是常量池.字符串对象的创建方式有两种如下:String s1 = new String("");   //第一种String s2 = "";               //第二种第一种始终不会入池的.第二种要看情况而定(等号右边如果是常量则入池,非常量则不入池)例:String s3 = "a" + "b"; //"a"是常量,"b"是常量,常量+常量=常量,所以会入池

2008-10-21 23:56:59 126

原创 inverse="true"

一个Person可以参加多个Event,一个Event有多个Person参加。映射文件如下:<!-- Person.hbm.xml --><hibernate-mapping package="events">  <class name="Person" table="person">      <id name="id" col

2008-10-11 02:11:05 149

原创 php5 tips

mysql_connect: 脚本执行结束时,自动 close,而使用 mysql_close 是为了在脚本结束前提前 close, 所以一般用不着 mysql_closemysql_pconnect: 执行时首先寻找一个已经打开的连接,若存在就直接使用,否则才创建一个新的连接用 mysql_pconnect 较好,因为省略了很多重复的 close/connect 操作,速度可能更快。连...

2008-10-05 18:53:11 99

原创 Fatal error:Call to undefined function mysqli_conn

在PHP.INI中将;extension=php_mysqli.dll前面的注释去掉保存即可我采用的是解压缩版的php,若没有php.ini,复制php.ini-recommended为php.ini即可。 同时修改extension_dir = "D:/PHP5/ext"...

2008-10-05 18:03:03 117

原创 apache2.2中虚拟路径配置

    Alias: Maps web paths into filesystem paths and is used to    access content that does not live under the DocumentRoot.    Example:    Alias /webpath /full/filesystem/path        If you inclu...

2008-10-05 14:38:10 114

空空如也

空空如也

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

TA关注的人

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