Spring mvc 前后端传值交互

1、Controller接受前端值 方法参数使用HttpRequestServlet request, 通过request.getParameter("userName")获取。 方法参数直接与前端页面标签的name属性对应。 方法参数使用对象, 其中对象成员属性与前端页面标签的name属性对应。 原文地址:http://www.cnblogs.com/chentingk/p/6073963.ht
相关文章
相关标签/搜索