Reputation: 791
I have a requirement to print the base dirctory of tomcat in which it is installed using java.
my tomcat is installed in c:\apache-tomcat\
.
In other words I want to print the catalina.home
directorty using Java.
System.out.println("print tomcat directory");
Upvotes: -1
Views: 1416
Reputation: 94645
You may get server info using this url - http://localhost:8080/manager/text/serverinfo
command - Manager Commands..
Upvotes: 0