zoukankan      html  css  js  c++  java
  • BBOSS框架使用jquery方式传參到后台的时候,要注意的事项

    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 {}                                  //错误

  • 相关阅读:
    FILTER(过滤器)
    HDFS优缺点
    python运算符
    python变量类型
    python变量存储
    python编码问题
    【一:定义】python 简介
    如何学一门新技术
    Django安装
    redis 安装及启动关闭
  • 原文地址:https://www.cnblogs.com/hrhguanli/p/5063186.html
Copyright © 2011-2022 走看看