The web.xml file is the file the
Servlet container knows to look for, and it knows to look for it in the WEB-INF folder. It's just part of the responsibility of the web container to know this.
Is there a deeper meaning to your question? Are you having a problem running a war file?
-Cameron McKenzie