Springboot build a simple Web project "Springboot + freemark template + yml profile + hot fix + test case" with source code

Source: Internet
Author: User

Project Address: Https://gitee.com/sanmubird/springboot-simpleweb.git

Project Description:

The main content of this project is:

1:springboot YML Configuration

2:springboot and Freeamark use:

1): page Jump: Restcontroller annotations and Controller annotations are used respectively

2): Value passing: Restcontroller annotations and Controller annotations are also tried separately

3: Hot FIX:

1): Try to repair the method body;

2): Try hot new method;

3): Tried the hot new class;

All of these can be achieved:

Implementation mode: Dependency + configuration

1: Dependence:

2: Configuration

4: Test Case:

Use a mock mock out of the MVC control layer for request forwarding:

Springboot build a simple Web project "Springboot + freemark template + yml profile + hot fix + test case" with source code

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.