采用nested标签实现struts1.x的list中嵌套list的表单提交

< nested:present  property = "result" >
   < nested:iterate  property = "result"  indexId = "idx" >
     < nested:hidden  property = "groupSize"  />
     GROUP CODE:< nested:text  property = "groupCd"  />
     < div  class = "list"  id = "rsdiv" >
       < table  id = "rstbl" >
         < tbody >
         < tr >
           < th >名称 th >
           < th >年齢 th >
           < th >金額 th >
         tr >
         tbody >
         < nested:iterate  property = "list"  indexId = "index" >
         < tbody >
           < tr >
             < td >
               < nested:text  property = "name"  />< BR >
             td >
             < td >
               < nested:text  property = "old"  />< BR >
             td >
             < td >
               < nested:text  property = "money"  />< BR >
             td >
           tr >
         tbody >
         nested:iterate >
       table >
     div >
     < nested:text  property = "muiltMoney"  />< BR >< BR >
   nested:iterate >
nested:present >

你可能感兴趣的:(struts)