URl Mapping注解 @RequsetMapping —通用绑定 @GetMapping --绑定Get请求 可以直接响应后直接展示到页面。 @PostMapping --绑定Post请求 这个不能直接响应,展示到页面上,只能通过表单提交的方式。