> 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
> 
> 
> 
> 
> 
> 

Reply via email to