<logic:present name="searchForm" property="results">
<hr width="100%" size="1" noshade="true">
<bean:size id="size" name="searchForm" property="results"/>
<logic:equal name="size" value="0">
<center><font color="red"><b>No Employees Found</b></font></center>
</logic:equal>
<logic:greaterThan name="size" value="0">
<table border="1">
<tr>
<th>Name</th>
<th>Social Security Number</th>
</tr>
<logic:iterate id="result" name="searchForm" property="results">
<tr>
<td><bean:write name="result" property="name"/></td>
<td><bean:write name="result" property="ssNum"/></td>
</tr>
</logic:iterate>
</table>
</logic:greaterThan>
</logic:present>
http://otn.oracle.com/oramag/oracle/04-may/o34dev_struts_l1.html
'JAVA > JSP_Servlet' 카테고리의 다른 글
헐... 정리 짱으로 되어있음... (0) | 2004.08.05 |
---|---|
[struts] <html:options /> 태그 ... (0) | 2004.08.03 |
[펌] Struts Tips (0) | 2004.07.20 |
[펌] 블로그 배급·구독 위한 가장쉬운 방법, 'RSS' (0) | 2004.07.09 |
톰캣에서 계정 사용자 인식하기.. (0) | 2004.05.28 |