The directory structure of a web application consists of two parts.
A private directory called WEB-INF
A public resource directory which contains public resource folder.
WEB-INF folder consists of
1. web.xml file that consist of deployment information.
2. classes directory cosists of business logic.
3. lib directory consists of jar files.