As long as you create a dynamic Web Project in Eclipse, you can create a directory structure of a typical Java Web site based on the Creation wizard. Unless there is a special need, in most cases there is no need to modify this directory structure, this is also the default directory structure of the Web container, we only need to use directly. The general directory structure is as follows:
WebContent (site root directory)
|---meta-inf (meta-inf folder)
| |---MANIFEST. MF (MANIFEST. MF Config manifest file)
|---web-inf (web-inf folder)
| |---web.xml (site configuration Web.xml)
| |---lib (third-party library folder)
| | |---*.jar (the jar package required by the program)
| |---Classes (class file directory)
| |---... *.class (class file)
|---<userdir> (custom catalog)
| |---*.jsp,*.js,*.css (custom resource file)
|---<userfiles> (custom resource file)
Restudying, beginners can also refer to.