> On 2022 Oct 7, at 21:13, Chuck Caldarale <n82...@gmail.com> wrote: > > >> On 2022 Oct 7, at 19:10, <jonmcalexan...@wellsfargo.com.invalid> >> <jonmcalexan...@wellsfargo.com.INVALID> wrote: >> >> If I wanted to possibly take parts of the manager application that comes >> with Tomcat and put bits and pieces together for an internal utility app >> (status stuff only), or figure out how it's done. Where would I find the >> code to do that? I've looked at the exploded war file and see absolutely NO >> code, so it must be "built in" to the Tomcat code (or that is my best guess). > > Yes, the logic is within the Manager servlet, not the JSP. Download the > Tomcat source code for the level you’re interested in: > > https://tomcat.apache.org/download-10.cgi > https://tomcat.apache.org/download-90.cgi > https://tomcat.apache.org/download-80.cgi > > Look here to start: > > > apache-tomcat-x.y.z-src/java/org/apache/catalina/manager/ManagerServlet.java > > - Chuck >
Might be easier to use JMX to access the internal Tomcat data, since there are JDK tools that can poke around inside Tomcat. - Chuck --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org