在jsp页面遍历出session里面的列表

问题遇到的现象和发生背景

jsp页面要显示session里面的列表,将他遍历出来,结果在网页上按F12发现控制台上的${ user.name}代码不见了
jsp页面


<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%--<%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %>--%>
<html>
<head>
    <meta http-equiv="content-type" content="text/html"; charset="UTF-8">
    <title>jsptitle>
head>
<body>
排序!
<br/>

<table class="table table-bordered" style="font-family: 'Arial Black'">
    <tr>
        <th style="text-align: center">uidth>
        <th style="text-align: center">usernameth>
        <th style="text-align: center">passwordth>
    tr>
    <c:forEach items="${sessionScope.sss}" var="user">
       <tr>
           <td>${user.uid}td>
           <td>${user.username}td>
           <td>${user.password}td>
       tr>
    c:forEach>
table>
body>
html>




运行结果及报错内容

img

发现遍历的数据显示不出,但是传过去的session里面有列表存在,控制台看可以看到列表的信息传过去了,但是要遍历列表的代码变白了

img

img

我觉得跟我遍历session里面的列表方式有关

想要达到下面这种效果,将列表里面的三个数组遍历出来怎么办

img