摘要: 1、新建了一个web项目,名字为study 在servlet中,通过getServletContext().getRealPath("/upload"); 方法获得的路径为:E:\apache-tomcat-6.0.37\webapps\study\upload 我把图片都上传到了这个路径下 2、然 阅读全文
posted @ 2016-02-03 16:37 庄生梦蝶 阅读(1211) 评论(0) 推荐(0)