struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mad Shop <>
Subject logic:iterate - Question
Date Thu, 09 Aug 2007 10:34:43 GMT
I have following scenario.
       I have getExSummary() method in exForm which returns a arraylist of A object.  How
to use logic:iterate tag to print all the values which methods in A object.
  getACount(),getBCount() are methods in A object.
      I tried following tag, which is not working.  Please suggest me the correct logic:iterate
  <logic:notEmpty name ="exForm" property="exSummary">
  <logic:iterate name ="exForm" property="exSummary" id="e" indexId="edx">
  <bean:write name="exSummary" property="aCount" />
  <bean:write name="expSummary" property="bCount" />
  Error which I am getting
  <Aug 9, 2007 3:52:43 PM IST> <Error> <HTTP> <BEA-101020> <[weblogic.servlet.inte
rnal.WebAppServletContext@3bbd4e - appName: 'AAA', name: 'aaa', context-path: '/
eem'] Servlet failed with Exception
        at weblogic.logging.commons.LogImpl.doLog(
        at weblogic.logging.commons.LogImpl.debug(
        at weblogic.logging.commons.LogImpl.debug(
        at org.apache.struts.taglib.TagUtils.message(
        at org.apache.struts.taglib.TagUtils.message(
        Truncated. see log file for complete stacktrace

Got a little couch potato? 
Check out fun summer activities for kids.
  • Unnamed multipart/alternative (inline, 8-Bit, 0 bytes)
View raw message