A J2EE web applicaiton is essentially a directory hierarchy with one special directory called 'WEB-INF'.
In that directory, there is a special XML document called 'web.xml'.
That document describes the web application to the J2EE Servlet Container (e.g. Tomcat).