lazy-init:设置只对scop属性为singleton的bean起作用。1.true;延迟加载;这时在第一次向容器通过getBean索取bean时实例化的。2.false:表示spring启动是立即进行实例化;在容器层次中通过在元素上使用'default-lazy-init'属性来控制延迟初始...
分类:
移动开发 时间:
2014-07-22 22:52:35
阅读次数:
231
管理员权限打开/etc/default/apport# set this to 0 to disable apport, or to 1 to enable it# you can temporarily override this with# sudo service apport start f...
分类:
其他好文 时间:
2014-07-22 22:52:16
阅读次数:
172
在python的官方文档中:getattr()的解释如下:getattr(object,name[,default])Return the value of the named attribute ofobject.namemust be a string. If the string is the...
分类:
编程语言 时间:
2014-07-20 09:01:37
阅读次数:
228
ubuntu 12.04:edit file: /etc/default/grubGRUB_CMDLINE_LINUX_DEFAULT="xxx"-> GRUB_CMDLINE_LINUX_DEFAULT="xxx text"CentOS :edit file: /etc/inittab# init...
分类:
其他好文 时间:
2014-07-19 19:06:03
阅读次数:
172
= $min) ? true : false;break;case 2: //只匹配最大值return ($max >= $len) ? true : false;break;default: //min = 1000 && $timeArr[0] = 0 && $dateArr[1] = 0 &&...
分类:
Web程序 时间:
2014-07-19 17:07:29
阅读次数:
286
timestamp设置默认值是Default CURRENT_TIMESTAMPtimestamp设置随着表变化而自动更新是ON UPDATE CURRENT_TIMESTAMP但是由于一个表中至多只能有一个字段设置CURRENT_TIMESTAMP两行设置DEFAULT CURRENT_TIMES...
分类:
数据库 时间:
2014-07-19 15:37:53
阅读次数:
260
http://www.jeffblankenburg.com/default.aspxhttp://www.silverlightcream.com/ Silverlight精英 网站收集了一系列SL社区中最好的博文http://www.silverlightshow.net/ 一个很棒的SL的综合...
源代码文件出处:Web App Libraries/struts2-core-2.3.15.3.jar/struts-default.xml
拦截器modelDriven:
interceptor
name="modelDriven"
class="com.opensymphony.xwork2.interceptor.ModelDrivenInterceptor"/>
...
分类:
其他好文 时间:
2014-07-19 02:18:07
阅读次数:
247
#define DEFAULT_VOID_COLOR [UIColor whiteColor]+ (UIColor *)colorWithHexString:(NSString *)stringToConvert
{
NSString *cString = [[stringToConvert stringByTrimmingCharactersInSet:[NSCharacterSet w...
分类:
移动开发 时间:
2014-07-19 02:17:16
阅读次数:
214
select t.DATA_PRECISION,t.DATA_SCALE,t.DATA_LENGTH,t.DATA_TYPE,t.COLUMN_NAME, t.NULLABLE,t.DATA_DEFAULT,c.COMMENTS from all_tab_columns t left join al...
分类:
数据库 时间:
2014-07-19 00:35:47
阅读次数:
272