2016.5.6 Springmvc FRAME (ii)

Source: Internet
Author: User

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)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.