servlet跳转页面(点击超链接),并没有跳转而是下载跳转的页面 如图: Servlet开发常见错误 点击后: Servlet开发常见错误 实则是格式问题:(一般都是格式错误) 检查下setContentType(); Servlet开发常见错误 总结: 深度了解http响应头和请求头。