springboot(三)
springboot(一)springboot(二) 之前我整理了2偏关于springboot的文章,本次主要说明开发当中最基本的操作。springboot继承mybatis,用generator生成entity,mapper,mapper.xml.另外集成了jsp,不过spring官方不推荐springboot集成jsp,因为集成后就代表微服务丧失了一些其他功能,后面会做介绍。 开发工具:idea jdk:1.8 项目框架:springboot+mybatis image.png 使用JSP渲染Web视图 pom文件引入以下依赖 <parent> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-parent</artifactId> <version>1.3.3.RELEASE</version> </parent> <dependencies> <!-- Spring...
