2021
07-26
07-26
SpringMVC请求参数的使用总结
目录一、页面跳转1.页面跳转2.请求转发3.重定向二、接收表单提交参数三、接收JSON参数四、文件上传、下载本次数据请求使用postman,postman下载地址:https://www.getpostman.com/一、页面跳转1.页面跳转@ControllerpublicclassIndexController{/***进入首页**@return首页页面*/@RequestMapping("/")publicStringindex(){return"/index";}}2.请求转发@Controllerpubli...
继续阅读 >