在spring 3.0中,可以通过使用@value,对一些如xxx.properties文件 中的文件,进行键值对的注入,例子如下:1 首先在applicationContext.xml中加入: 的命名空间,然后2 3 创建test.properties abc=1234 import...
分类:
编程语言 时间:
2014-09-03 16:16:36
阅读次数:
171
从jQuery API 文档中可以知道,jQuery自定义动画的函数.animate( properties [, duration] [, easing] [, complete] )有四个参数:properties:一组包含作为动画属性和终值的样式属性和及其值的集合duration(可选):动画...
分类:
Web程序 时间:
2014-09-03 11:06:56
阅读次数:
302
引用:log4j配置祥解 第一步:加入log4j-1.2.8.jar到lib下。 第二步:在CLASSPATH下建立log4j.properties。内容如下: 1 log4j.rootCategory=INFO, stdout , R 2 3 log4j.appender.stdout=org.apache.log4j.Conso...
分类:
其他好文 时间:
2014-09-02 20:04:45
阅读次数:
191
1. 在Java中获取 .properties 文件的路径 (src/main/resources 下)ProjectName|---src/main/java|---src/main/resources |---test.propertiespackage xxx.yyy;public clas....
分类:
编程语言 时间:
2014-09-02 19:31:55
阅读次数:
305
Description
Josephina is a clever girl and addicted to Machine Learning recently. She pays much attention to a method called Linear Discriminant Analysis, which has many interesting properties.
I...
分类:
其他好文 时间:
2014-09-02 17:52:25
阅读次数:
296
Alert Description Variables:For event Rules:EventDisplayNumber (Event ID): $Data/EventDisplayNumber$EventDescription (Description): $Data/EventDescrip...
分类:
其他好文 时间:
2014-09-02 15:30:54
阅读次数:
213
chrome :IE:var matchVal = encodeURIComponent($('.inp_match').val()); // 此时ie下就可以正常搜索到了/order/edit.html?act=select&sname=%E5%9B%9B
分类:
编程语言 时间:
2014-09-02 13:52:44
阅读次数:
205
Fedora10下建立的linux系统窗口没有地址栏打开一个文件夹就打开一个窗口,还没有地址栏,这很麻烦也不习惯。另:打开地址栏可以用组合键 Ctrl+L如图解决:edit---perferences---behavior----always open browser windows选择选项alwa...
分类:
系统相关 时间:
2014-09-02 12:01:54
阅读次数:
280
使用Ctrl+Shift+F自动格式化代码的时候,有时候折行太多反而让代码看起来更乱,不容易阅读。解决办法:Window-->Preferences-->Java-->Code Style-->Formatter-->Edit-->Line Wrapping-->Maximum line width...
分类:
系统相关 时间:
2014-09-02 12:01:04
阅读次数:
318
最近不知道项目oracle数据库配置闹哪样,一个web项目重新导入后,运行一直提示username/password: login denied,账号密码无效,无法成功连接Oracle数据库,查看jdbc.properties配置也没错,结果当我在MyEclipse下随意打开另个项目参照看看时,前面...
分类:
数据库 时间:
2014-09-01 17:14:13
阅读次数:
237