The method getServletContext() from the type ServletActionContext refers to the
导入外部工程时出现:The method getServletContext() from the type ServletActionContext refers to the missing type Servlet 解决办法:E:\software\apache-tomcat-6.0.29\apache-tomcat-6.0.29\lib 在tomcat安装目录下,复制servlet-api.jar到myeclipse工程web-inf/lib 下