Tomcat: How to find out running tomcat version

前端 未结 27 1878
臣服心动
臣服心动 2020-11-30 16:18

I\'m trying to get Appfuse + tomcat + jRebel working.

Appfuse by default uses Cargo to download tomcat (ver. 7.0.33) and deploy the application to it. I wish to use

27条回答
  •  粉色の甜心
    2020-11-30 16:58

    if you can upload a JSP file you may print out some info like in this example: bestdesigns.co.in/blog/check-jsp-tomcat-version

    Save this code into a file called tomcat_version.jsp:

        Tomcat Version : <%= application.getServerInfo() %>
    Servlet Specification Version : <%= application.getMajorVersion() %>.<%= application.getMinorVersion() %>
    JSP version : <%=JspFactory.getDefaultFactory().getEngineInfo().getSpecificationVersion() %>

    When you access, http://example.com/tomcat_version.jsp, the output should look similar to:

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

提交回复
热议问题