Posts tagged Find servlet and jsp version

Check Tomcat,Java,JSP And Servlet Version Online

If you  recently  installed Apache-Tomcat on your system and wants to check  the Java, JSP , Servlet and Tomcat versions then just put the below code in .jsp file ::



Apache-Tomcat Version : <%=getServletConfig().getServletContext().getServerInfo()%> <br>

Servlet Version : <%= session.getServletContext().getMajorVersion() %>.<%= session.getServletContext().getMinorVersion() %><br>

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

Java Version : <%= System.getProperty("java.version")%><br>


And now you can access the above information online as .