JSP and Tomcat version

The below code will help you to find the JSP, tomcat and servlet versions installed in your server or domain.

Working with server: <%= application.getServerInfo() %><br>
Servlet Specification: <%= application.getMajorVersion() %>.<%= application.getMinorVersion() %> <br>
JSP version: <%= JspFactory.getDefaultFactory().getEngineInfo().get SpecificationVersion() %><br>

Create a test page checkjsp.jsp with above code in your domain. Check the test page by using browser “http://yourdomainname/checkjsp.jsp“. It will show the tomcat version, JSP and servlet version in your domain.