标签:
BBOSS框架,从前台传到后台的时候,参数要以这种方式:
 public String initAddOrModExtendUser(HttpServletRequest request,
            @RequestParam (name = "act") String act,HttpServletResponse response,
            ExtendUserDO extendUserDO){}
其中@RequestParam(name = "act") String act,就是参数。
而不能直接用String userName传递参数;
public boolean login(HttpServletRequest request,
            HttpServletResponse response, String userName, String password,                      //错误
            boolean enablelog,String code) throws AccessException {}                                 
//错误
BBOSS框架使用jquery方式传参到后台的时候,要注意的事项
标签:
原文地址:http://blog.csdn.net/mll999888/article/details/44301861