Open Tomcat's lib directory, there are two jar files: Jsp-api.jar Servlet-api.jar. If not, it may be that you did not add it in. Unzip the two files and open the Mainmeft.mf file under Meta-inf with Notepad.
version information for JSP:Manifest-version:1.0ant-version:apache Ant 1.8.0Created-by:1.6.0_27-b07 (Sun Microsystems Inc.)x-compile-source-jdk:1.6x-compile-target-jdk:1.6 name:javax/servlet/jsp/Specification-title:java API for JavaServer Pagesspecification-version:2.2Specification-vendor:sun Microsystems, Inc.implementation-title:javax.servlet.jspimplementation-version:2.2.frImplementation-vendor:apache Software Foundation
servlet version:manifest-version:1.0Ant-version:apache Ant 1.8.0Created-by:1.6.0_27-b07 (Sun Microsystems Inc.)x-compile-source-jdk:1.6x-compile-target-jdk:1.6 name:javax/servlet/Specification-title:java API for Servletsspecification-version:3.0Specification-vendor:sun Microsystems, Inc.Implementation-title:javax.servletimplementation-version:3.0.frImplementation-vendor:apache Software Foundation
How to view the versions of Servlets and JSPs in eclipse