Referencing a collection size in JSTL
I have a jsp page that is making me pull my hair out. I am trying to load a hidden variable with a list size passed into the page. The syntax is illuding me.
I am using JBoss 4.2.2
I have an interation that works fine but I need to load the hidden variable as well.
<s:if test="shipmentStops!=null&& shipmentStops.size()>0">
...this test works...
<s:hidden name="n" id="n" value="<How can I load this with shipmentStops.size()???>"/>
... this iterates fine I have 2 items in the list.
Thanks for your help