Spring mvc中把表单数据当做一个对象提交给controller是怎么实现的
展开全部
@RequestMapping(value = { "/ABC" }, method = { RequestMethod.POST, RequestMethod.GET })
public void SaveTemplate(HttpServletRequest request){
String aa= request.getParameter("aa");
String bb= request.getParameter("bb");
String cc = request.getParameter("cc");
public void SaveTemplate(HttpServletRequest request){
String aa= request.getParameter("aa");
String bb= request.getParameter("bb");
String cc = request.getParameter("cc");
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询