InputStream in = PropReader.class.getClassLoader().getResourceAsStream(StaticFinal.CONFIG_PATH);
            

其中StaticFinal.CONFIG是字符串常量,指定properties的文件名

posted on 2013-08-27 17:02  new PersonBean()  阅读(133)  评论(0)    收藏  举报