I have a collection in the Request called "processes" which is an array
list of a Transfer Object I use in my application.  I am trying to make
the following call from my JSP:

 

<bean-el:size id="numProcesses" collection="${processes}"/>

 

I am getting the following error:

 

javax.servlet.jsp.JspException: No valid collection specified for size
tag

      at
org.apache.struts.taglib.bean.SizeTag.doStartTag(SizeTag.java:165)

      at
org.apache.strutsel.taglib.bean.ELSizeTag.doStartTag(ELSizeTag.java:137)

      at
org.apache.jsp.jsp.batch_005fprocesses_jsp._jspService(org.apache.jsp.js
p.batch_005fprocesses_jsp:133)

      at
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)

 

Any ideas why the collection cannot be resolved? I'm on Tomcat 5.5.12
using JSTL 1.1.

 

Daniel

Reply via email to