Howdy!
In my
struts application - I have a list defined in a formbean - which I show on the
JSP - with regular iteration Struts tags.
Now, to be able to layout the list in two columns - I need to know the size of the list before hand.
How can I access this list?
If I somehow could access the list - like;
<%
List list = myFormBean.getList();
int listSize = list.size();
%>
But I get the error myFormBean is unknown. The I could use a useBean tag - but again - I don't get access to the same instance of the bean - as Struts uses.
How do I solve this problem?
Best Regards,
Henrik