一、CustomEditorConfigurer类 CustomEditorConfigurer可以读取实现java.beans.PropertyEditor接口的类,将字符串转为指定的类型。更方便的可以使用PropertyEditorSupport。PropertyEditorSupport实现P...
分类:
编程语言 时间:
2015-02-28 12:59:24
阅读次数:
154
排列组合 啊……这题是要求c(n-1,0)+c(n,1)+c(n+1,2)+......+c(n+m-1,m) 这个玩意……其实就等于c(n+m,m) 好吧然后就是模P……Lucas大法好= = 我SB地去预处理 3 #include 4 #include 5 #include 6 #inc...
分类:
其他好文 时间:
2015-02-21 22:16:29
阅读次数:
236
今天笔者在写一个用S2SH的程序的时候,出现了下面的错误:org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in class....
分类:
Web程序 时间:
2015-02-20 20:53:31
阅读次数:
210
先来说说这个坑爹的问题,其实本来我是没注意到的,因为程序跑起来一切都正常。但是在tomcat启动时飞速打印log时,在中间“隐藏”了一个错误:2015-02-15 16:03:22 [ catalina-exec-4:2202 ] - [ DEBUG ] [org.springframework.beans.TypeConverterDelegate] Original ConversionServ...
分类:
Web程序 时间:
2015-02-15 18:09:40
阅读次数:
265
This time let us consider the situation in the movie "Live and Let Die" in which James Bond, the world's most famous spy, was captured by a group of d...
分类:
其他好文 时间:
2015-02-12 21:25:40
阅读次数:
365
使用注解简化了可以和Junit文章相比较看出。import org.junit.Assert;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.test.c...
分类:
编程语言 时间:
2015-02-12 18:38:21
阅读次数:
213
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in class path resource [applicationCo....
分类:
移动开发 时间:
2015-02-12 15:35:16
阅读次数:
175
package com.studySpring;
import org.springframework.beans.factory.annotation.Autowired;
public class Boss {
@Autowired
private Car car;
@Autowired
pri...
分类:
其他好文 时间:
2015-02-11 14:37:34
阅读次数:
131
1. BeanFactory 的结构体系如下: 2. XmlBeanFactory ,装载Spring配置信息 package org.springframework.beans.factory.xml; import org.springframework.beans.BeansException...
分类:
编程语言 时间:
2015-02-10 13:17:16
阅读次数:
200
Proxies are used byStoresto handle the loading and saving ofModeldata. Usually developers will not need to create or interact with proxies directly.pr...
分类:
Web程序 时间:
2015-02-10 13:09:54
阅读次数:
209