Last updated on November 18th, 2015 at 04:00 am

A simple way to determine the Server information along with Servlet, JSP and Java version of your application server. This is basically a simple JSP script.

Create a file named version.jsp and add these code

Server info: < %= application.getServerInfo() %><br />
Servlet version: < %= application.getMajorVersion() %>.< %= application.getMinorVersion() %><br />
JSP version: < %= JspFactory.getDefaultFactory().getEngineInfo().getSpecificationVersion() %><br />
Java version: < %= System.getProperty("java.version") %><br />

Save the file and copy it to the Deploy directory of your application server profile.

Now run the script http://:8080/version.jsp

Leave a Reply

Your email address will not be published. Required fields are marked *