问答详情
源自:4-11 阶段案例——实现用户登录

session.getAttribute("loginUser",username);报错

The method getAttribute(String) in the type HttpSession is not applicable for the arguments 

 (String, String)


提问者:慕侠5846326 2017-08-13 15:06

个回答

  • 慕侠5846326
    2017-08-13 15:08:25

    session.setAttribute  不是get