摘要: 阅读全文
posted @ 2012-02-06 19:35 Paul.Lau 阅读(200) 评论(0) 推荐(0) 编辑
摘要: package com.student.tools;import java.io.IOException;import java.io.InputStream;import java.util.Properties;public class ObjectFactory { private static Properties pro=new Properties(); public static Object getBean(String key){ InputStream is= ObjectFactory.class.getResourceAsStream("/bean.prope 阅读全文
posted @ 2012-02-06 19:34 Paul.Lau 阅读(279) 评论(0) 推荐(0) 编辑