Tomcat installations often use the Tomcat Manager web application to manage and deploy web applications. It can be accessed via URL/manager/html. This produces an HTTP authentication panel:
Clicking Cancel on the popup will give you a 401 error, as in the preceding screenshot, which confirms the presence of Tomcat.
Note: This kind of disclosure of information only exists in the case of Tomcat server misconfiguration.