如何在jsp页面中遍历session里面的数组

jsp页面想要遍历session里面的数组,打开页面后控制台的${xx}数据却变成空白

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


控制台发现,里面的${ }变为空白

img

不知道是不是跟列表的数据有关,列表是三个数组

img

怎么才能把数据遍历出下面效果

img

http://t.csdn.cn/Qcenn 可以看看我这篇博客 有用记得采纳呐