I’m getting a 404 from Tomcat for a very simple web app. I’m currently thinking the problem is the servlet mapping because there are no errors in any of the Tomcat logs.
Is there a way to get Tomcat to display the active servlet mappings? I thought the manager console might do this but when I click on the mapping for my app I also get a 404. So either this is not the way to do it or there is something else wrong that is not being logged.
Thanks for any help or advice,
beeky
You can display them via
servletContext.getServletRegistrations()– you have all the metadata available there. You can do that in aServletContextListener, to print all data as soon as the context is loaded.