struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chaminda Fernando" <ChamindaFerna...@virtusa.com>
Subject using <logic:iterate>
Date Thu, 19 Feb 2004 10:28:41 GMT


> I am trying to use <logic:iterator tag as follows.Try to  give dynamic values for
offset and length  attributes.
> 
> <logic:iterate  id ="emp" name="EmpList" offset="index" length="length">
> 
> EmpList,index and length values are set properly in session .
> 
> But this throws following exception :
> 
> java.lang.ClassCastException 
>  at org.apache.struts.taglib.logic.IterateTag.doStartTag(IterateTag.java:342)
>  at org.apache.jsp.Empdata_jsp._jspService(Empdata_jsp.java:137) 
> 
> 
> But when I try to use it as follows it  works.
> <logic:iterate  id ="emp" name="EmpList" offset="3" length="10">
> 
> 
> How can I make to solve it ?
> Thanks
> Chaminda
> 
> 
> 
> 
> 
> 

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message