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

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

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