I have couple instances of tomcat server sitting on my computer (one's production and one is staging/test/training).
The (example) url for the tomcat web app mgr for both production and test is as such:
Production: xWeb8.myOwnServer/manager/html
test: xWeb8Test.myOwnServer/manager/html
I was wondering if it is possible to access the Tomcat Web Application Manager and modify its display and/or add a color theme to indicate if it is production or test, etc.? If yes, how can this be done?
In your webapps directory you will find the manager directory. Looking at the index.jsp, web.xml, and the source code to the HTMLManagerServlet, it looks like it is all hard-coded into the servlet. So it looks like it is not easily possible without rewriting the whole thing.
Update: You can create a Filter that modifies the HTML as it passes through the filter.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With