The type javax.servlet.http.HttpServletResponse cannot be resolved

原因是tomcat中的包没有导入到工程中,

原文地址:https://www.cnblogs.com/zhenmingliu/p/2466566.html