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

来源:4-11 阶段案例——实现用户登录

慕侠5846326

2017-08-13 15:06

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

 (String, String)


写回答 关注

1回答

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

    session.setAttribute  不是get

JAVA遇见HTML——JSP篇

Java Web入门级教程JSP,带你轻松的学习JSP基础知识

248275 学习 · 3215 问题

查看课程

相似问题