spring boot
airuoflora
愿你所愿,终能实现。
展开
-
spring boot 如何返回视图而不是string的方法
package com.example.demo.controller;import org.springframework.boot.autoconfigure.EnableAutoConfiguration;import org.springframework.stereotype.Controller;import org.springframework.web.bind.annot...原创 2018-07-15 14:47:27 · 6638 阅读 · 0 评论 -
一个简单的spring boot 小例子
注意 这里的版本要是1.5.15的Application代码@SpringBootApplication@ComponentScan("com.example.demo1.controller")public class Demo1Application { public static void main(String[] args) { SpringApplicati...原创 2018-07-15 16:10:21 · 4177 阅读 · 0 评论