How to find the drive letter of Tomcat installation in Windows -


My webpage is running from Tomcat, which is installed on Windows machine. I should find out the drive letter (eg: C: or D: etc) programmatically on the servlet, on which my tomcat is installed.

To know the installation directory of an application.
You can see the registry

I use.

Comments

Popular posts from this blog

c# - Textbox not clickable but editable -

php - how to change mysql_result($res, 0, "url"); to mysqli -

Matlab transpose a table vector -