摘要: 如果读取资源文件的程序不是servlet的话,就只能通过类装载器去读取。配置文件不要太大,占用内存。 1、普通类: public class userUserDao { public void updata() throws IOException{ InputStream in=userUserD 阅读全文
posted @ 2017-03-08 20:24 贱贱的小帅哥 阅读(131) 评论(0) 推荐(0)