Spring+springmvc+mybatis Framework Integration Building Tutorial four (project deployment and testing)

Source: Internet
Author: User
Tags tomcat server

Deploy the project to local Tomcat under idea to run and validate the consolidation results

(1). Click the drop-down button as shown, pop-up edit configurations ... After clicking on the item.

 

(2). Click the "+" sign in the red box to select the Tomcat server->local after jumping out of the following screen

 

(3). The following interface appears, modifying the name of the custom startup item, configuring the local tomcat

(4). Select the project to run

 

(5). Specify the ContextPath for the project to run

 

(6). Click the Start button to start the project

 

(7). Enter the URL of the controller in the browser and observe the output

Print out the data we have stored in the data to show that the framework is perfectly successful! To this spring, SPRINGMVC, MyBatis integration and testing all completed, like or help you, please praise!

Note: The GitHub address for the project is:https://github.com/hafizzhang/SSM.git

Spring+springmvc+mybatis Framework Integration Building Tutorial four (project deployment and testing)

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.