摘要: String ContextPath = request.getContextPath();这个获取的是上下文路径,一般就是项目名字,如果上下文路径为空,则这个输出也为空。 String basePath = request.getScheme() + "://" + request.getServ 阅读全文
posted @ 2017-08-04 11:10 来自IT国的猴子 阅读(218) 评论(0) 推荐(0) 编辑
摘要: //file {File} //File对象 //response {Object} //服务端返回的数据 //File对象 //服务端返回的数据 阅读全文
posted @ 2017-08-04 10:42 来自IT国的猴子 阅读(169) 评论(0) 推荐(0) 编辑