http://struts.apache.org/struts-el/tagreference-struts-bean-el.html#bean:size
Try "name" instead of "collection". On 3/24/06, Kalcevich, Daniel <[EMAIL PROTECTED]> wrote: > 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 > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]