普通javabean 获得项目的绝对路径

方式一:String path = RequestContext.class.getResource("/").getFile();

posted on 2013-09-29 09:54  风之痕羁  阅读(272)  评论(0)    收藏  举报