I am trying to print out the size of an ArrayList.

 

Here is the code I am using.  BC is a bean container.  infusion is a bean.
The variable prepopUserList is an ArrayList.  

 

<c:out value="${BC.infusion.prepopUserList.size}"/>

 

 

This is the error it gives me.

 

MonitorFilter::javax.servlet.ServletException: An error occurred while
evaluating custom action attribute "value" with value
"${BC.infusion.prepopUserList.size}": The "." operator was supplied with an
index value of type "java.lang.String" to be applied to a List or array, but
that value cannot be converted to an integer. (null)

 

 

Thanks,

 

Brent Vaughn

 

Reply via email to