Zsolt
Hans Bergsten wrote:
Zsolt wrote:
Hi,
how can I replace the code below with a JSTL command ?
(scc_history points to a java.util.List class).
<bean:size id="nr_of_scc_history" name="scc_history" />
With JSP 1.2 and JSTL 1.0, there's no way to get the size, only to check if it's empty:
<c:if test="${empty scc_history}">
With JSP 2.0 and JSTL 1.1, you can use the length() function:
<c:set var="nr_of_scc_history" value="${fn:length(scc_history)}"/>
Hans
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]