我新建的web程序,然后创建了一个jsp文件,然后jsp文件的第一行就出现红叉
用鼠标点上去出现“The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path” 这种错误我应该怎么弄啊
求大家详细指点一二
------解决方案--------------------
servlet-api.jar
------解决方案--------------------
应该是缺少sevlet的jar包
假定你用的是tomcat
右键点击项目->build path->configure build path->add library->server runtime->apache tomcat