Posted on 2016-01-14 10:53
朱杰兵 阅读(94)
评论(0) 编辑 收藏
// File file=new File("F:\\top50.png");D:\worksoftware\apache-tomcat-7.0.27\apache-tomcat-7.0.27\webapps\jzbz\
File file=new File(path+"\\images\\ceairLogo.png");
HttpServletRequest request = (HttpServletRequest) Executions.getCurrent().getNativeRequest();
String path = request.getSession().getServletContext().getRealPath("/");