web directory structure

First, the directory structure of a Web project
we all know, Java-based Web applications, the standard way of packaging is WAR. WAR and JAR
is similar, except that it can contain more content, such as JSP files, Servlet, Java classes, web.xml
configuration file, dependent JAR package, static web resources such as HTML, CSS, JavaScript files, and so on.
A typical WAR file directory structure will be as follows:
- the WAR /
+ META-INF /
+ the WEB-INF /
| + classes /
| | + ServletA.class
| | + config.properties
| | + ...
| |
| + lib / | | + dom4j-1.4.1.jar | | + mail-1.4.1.jar | | + ... | | | + the web.xml | + img / | + CSS / | + JS / | + index .html + sample.jsp













Guess you like

Origin www.cnblogs.com/justart/p/11519597.html