SPRINGMVC Construction Process
1. Create a new Web project
Description
Target Runtime running server Apache Tomcat 8.0
SRC put Java
Resouces put Mapper
Config put config XML properties, etc.
2. Web Project Initial Description
The following excerpt from http://blog.csdn.net/saygoodbyetoyou/article/details/16899395 has been modified
/web-inf/web.xml
A Web application configuration file that describes the servlet and other application component configuration and naming conventions.
/web-inf/classes/
contains all of the site's class files, including the Servlet class and the non-servlet class, which they cannot include in the. jar file.
/web-inf/lib/
Web-Required jar files
/web-inf/src/
Source directory, according to the package name structure to place each Java file .
/web-inf/database.properties
Database configuration file
/web-inf/tags/
Storing Custom label files
Meta-inf
Equivalent to a packet, the files and directories in the directory are recognized and interpreted by the Java 2 Platform To configure applications, extenders, ClassLoader, and services
MANIFEST.MF files, which are generated automatically when packaged with jars.
3. Web. XML configuration file--configuration of the front-end control Dispatcherservlet
2016.5.6 Springmvc FRAME (ii)