springmvc+spring configuration process

Construction steps:
1. Generate a web directory
2. Download the jar package on the spring.io official website, or on Maven
3. Configure web.xml-<web-app> to introduce springmvc-<servlet>, spring-<listner>
4. Configure applicationContext.xml <beans> import mybatis/hibernate <bean-sqlSessionFactory>, mysql/oracle-<bean-datasource>

Spring usage guide
1, SpringMVC Controller introduction and common annotationshttps:
//www.cnblogs.com/xiepeixing/p/4243288.html

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325527666&siteId=291194637