2021-4-29 日报博客

个人博客

1.学到的东西

package com.itheima.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

@Controller
@RequestMapping("/user")
public class UserController {

// 请求地址 http://localhost:8080/user/quick
@RequestMapping(value="/quick",method = RequestMethod.GET,params = {"username"})
public String save(){
System.out.println("Controller save running....");
return "success";
}

}

2.明日计划

继续了解SpringMVC。

3.遇到的问题

posted @ 2021-04-29 21:51  巩云龙  阅读(22)  评论(0编辑  收藏  举报