关于#javascript#的问题:table标签下的内容运行之后无法显示

table标签下的内容运行之后无法显示
                <table>
                    <c:forEach items="${requestScope.seatList}" var="item">

                        <tr>
                            <c:forEach items="${item}" var="it">
                                <td>
                                    <c:if test="${it==0}">
                                        <img src="<%=basePath%>/img/wei.png">
                                    c:if>
                                    <c:if test="${it==1}">
                                        <img src="<%=basePath%>/img/yi.png">
                                    c:if>
                                td>
                            c:forEach>
                        tr>
                    c:forEach>
                table>
            div>

img

你这是 JSP 的代码吧, ${requestScope.seatList} 这个变量 有值嘛? 没数据的话,里面的标签 不会有的哦!