English 中文(简体)
JSTL 2d Array Iteration
原标题:JSTL 2d Array Iteration
  • 时间:2011-03-02 02:48:30
  •  标签:
  • java
  • jsp
  • jstl

我有2个阵列,储存在一个 j子和I m,试图通过其内容加以消化,在联合新闻方案网页上印制相应的表格。 该阵列是一个星号数据成员,通过EL代码{板.cells}进入。 我试图用一个盒子来做这项工作,但只印刷一个电池。 我知道阵列内容是有效的,因为我可以看到,当我直接用美元记账,直接记账。

Here s my loop code, embedded in the JSP.

<c:forEach items="${board.cells}" var="row">
    <tr>
        <c:forEach items="${row}" var="cell">
            <td><img src=${cell} align="" alt="cell"></td>
        </c:forEach>
    </tr>
</c:forEach>

任何帮助都值得赞赏!

最佳回答

根据这些评论,司法独立委员会的核心标签根本得不到解释/分配。 他们被带往超文本的答复中。 你们需要宣布独立党的核心地位,以掌握这些权力。

<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>

See also:

问题回答

暂无回答




相关问题
Spring Properties File

Hi have this j2ee web application developed using spring framework. I have a problem with rendering mnessages in nihongo characters from the properties file. I tried converting the file to ascii using ...

Logging a global ID in multiple components

I have a system which contains multiple applications connected together using JMS and Spring Integration. Messages get sent along a chain of applications. [App A] -> [App B] -> [App C] We set a ...

Java Library Size

If I m given two Java Libraries in Jar format, 1 having no bells and whistles, and the other having lots of them that will mostly go unused.... my question is: How will the larger, mostly unused ...

How to get the Array Class for a given Class in Java?

I have a Class variable that holds a certain type and I need to get a variable that holds the corresponding array class. The best I could come up with is this: Class arrayOfFooClass = java.lang....

SQLite , Derby vs file system

I m working on a Java desktop application that reads and writes from/to different files. I think a better solution would be to replace the file system by a SQLite database. How hard is it to migrate ...

热门标签