springmvc Controller接收前端参数的几种方式总结
摘要:(1) 普通方式-请求参数名和Controller方法的参数一致 如下图所示: 通过访问:http://localhost:8080/sty/param/add.action?name=张三&pwd=123456 (2) 对象方式-请求参数名和Controller方法中的对象的参数一致 如下图所示:
阅读全文
posted @ 2019-10-13 18:50
posted @ 2019-10-13 18:50