在 servlet 中,我设置了会话值
HttpSession session = httpRequest.getSession();
session.setAttribute("user", "adam");
然后,在 JSP 页面上,当我尝试获取值<c:out value="${user}"></c:out>
时,出现错误According to TLD or attribute directive in tag file, attribute value does not accept any expressions
那么我怎样才能得到会话变量呢?