摘要:
转:https://www.cnblogs.com/hackxiyu/p/9046247.html 使用web下载文件的时候,需要在实例化FileServlet 类的doGet方法里面添加以下设置 resp.setHeader("Content-disposition","attachment;fi 阅读全文
摘要:
200:请求响应成功3xx:请求重定向重定向:你重新到我给你的新位置去4xx:找不到资源资源不存在5xx:服务器代码错误 500502:网关错误 阅读全文