Something Different In Linux

Home » Tomcat » How to check JSP and Tomcat version ?

How to check JSP and Tomcat version ?

Posted by Rishikesh Vispute Categories: Tomcat

How to check JSP and Tomcat version ?

You can easily check the JSP version. You need to create test.jsp page under your account and add the following code into that file and access the test.jsp page by using browser ” http://domainname/test.jsp ” then it shows the tomcat version ,JSP version and servlet version.

Tomcat Version : <%= application.getServerInfo() %><br>

Servlet Specification Version : <%= application.getMajorVersion() %>.<%= application.getMinorVersion() %> <br>

JSP version : <%= JspFactory.getDefaultFactory().getEngineInfo().getSpecificationVersion() %><br>


When you have access  the URL  http://domainname/test.jsp Then  output is  as follows


Tomcat Version : Apache Tomcat/5.5.25
Servlet Specification Version : 2.4
JSP version: 2.0


Popular Posts

remove index.php fro

How to remove index.php from url in magento Ans : If you ...

PHP-Java bridge on p

  What is php-java bridge? The php-java bridge is the php ...

Set expiration for y

If you want to set the expiration to your site ...

Warning: Parameter 1

Error: Warning: Parameter 1 to modMainMenuHelper::buildXML() expected to be a ...

domain pointing to e

If you domain uses external MX record and it is ...