if test result null result size h1 sdfsf h1 table class responseTable

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
<c:if test="${result != null && result.size() > 0}">
<h1>sdfsf</h1>
<table class="responseTable">
<thead>
<td>ID</td>
<td>StartDate</td>
<td>FinishDate</td>
<td>Performer</td>
<td>Activity</td>
</thead>
<c:forEach var="row" items="${result}">
<tr>
<td>${row.id}</td>
<td>${row.startDate}</td>
<td>${row.finishDate}</td>
<td>${row.performer}</td>
<td>${row.activity}</td>
</tr>
</c:forEach>
</table>
</c:if>