So how is Tomcat able to map out the location of the "jsp-examples" and "servlets-examples"?
There is a built in convention that if a directory under webapps has a WEB-INF subdirectory and there is a correctly formatted web.xml there, then that directory is a web application. All according to the
servlet API.
Bill