摘要: Spring通过PropertyEdit(属性编辑器) 可以将字符串转换为真实类型。通过CustomEditorConfigurer ,ApplicationContext 可以很方便的支持自定义PropertyEdit。MyType.javapackage com.cao.spring.applicationContext;public class MyType {private String text;public MyType(String text){this.text = text;}public String getText(){return this.text;}}Depends 阅读全文
posted @ 2008-05-30 20:44 shine_panda 阅读(148) 评论(0) 推荐(0) 编辑