cogFinds servlet container name and version
Developed by

Vincent Massol

Rating
Rate!
0 Votes
LicenseGNU Lesser General Public License 2.1

Description

Execute the following (you'll need Programming Rights):

{{groovy}}
println xcontext.context.getEngineContext().getServletContext().getServerInfo()
{{/groovy}}

Example result:

Apache Tomcat/7.0.57

Prerequisites & Installation Instructions

Copy the code snippet to a page and save it.

Tags: groovy
Created by Vincent Massol on 2018/09/24 12:06
     

Get Connected