struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Cory D. Wiles" <kwy...@gmail.com>
Subject Setting/Accessing List Size on JSP
Date Mon, 01 Oct 2007 17:04:23 GMT
How do I set/display the size of my list in the result of my jsp?  I am able
to check for the size in my iterator tag, but I would like to be able to
display the size as a property.


I have tried the following and it didn't work.

<s:set name="myListSize" value="%{#attr['myList'].size}/>
<s:property value="%{#myListSize}"/>

Thanks,
Cory

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message