您的位置首页百科知识

ajax post带参数请求,后台怎么接收参数?

ajax post带参数请求,后台怎么接收参数?

@RequestMapping(value="/add",method=RequestMethod.POST)publicModelAndViewinsert(HttpServletRequestrequest){Stringname=request.getParameter("name");returnnewModelAndView();}