摘要: String path= request.getSession( ).getServletContext( ).getRealPath( "/" );//获取绝对路径String path2 = path.replace("\\",File.separator);//用File.separator ... 阅读全文
posted @ 2016-01-14 21:00 落叶知途 阅读(574) 评论(0) 推荐(0)