The jspinfo function.
PHP has a function, that allow us to view different information of our system. Like variable, configuration, etc.
I made a class that allow us to check information like phpinfo of PHP.
The way to use this class is a bit different, you must include the package related to my class and use the fucntion jspinfo.
<%@page import="static Pckg.JC.*"%><%
jspinfo(pageContext);
%>
Changing Information of Tomcat Server.
Only you need to create a file with the name ServerInfo.properties inside of multiple subdirectories that you will need to create too.
The complete path from Tomcat’s folder is:
lib\org\apache\catalina\util.
The content of ServerInfo.properties is:
server.info=Tomcat Version X
Or the name that you want to use instead of “Tomcat Version X”.
Later, you will need to restart the Tomcat Server.