I am having a web application that have some config files(.ini) that
contains some settings so that during runtime the servlet would take the
settings from the config file and perform some action.

Together with the web application, there is an adminstrator console that
allows user to change the settings of the config file . I realize that if
the config file is changed, i would need to restart Tomcat as such my
servlet would read in the changed settings.

So i would need to have a button in my adminstrator console to restart
Tomcat. How could i issue the command to Tomcat to restart itself and what
is the best practice of doing this?

Appreciate any advice.

Reply via email to