下面的记录大家认为怎么去下个Action(struts1.x)去取在Save到数据库
<在th 后面加name这个不好吧>
还有在一个Action能用5条insert语句吗 ?分别插入到2个table里(这应该怎么做给个建议)
 <c:forEach items="${someList2}"var="u">
        <tr id='mytr'>
          <th width="16%" id ="lh"><c:out value="${u.lh }"></c:out></th>
          <th width="16%" id = "pm"><c:out value="${u.pm}"></c:out></th>
          <th width="15%" id = "gg"><c:out value="${u.gg}"></c:out></th>
          <th width="5%"  id = "number2"><input name = "number2" type = "text"size = "8"></th>
          <th width="9%" id = "number3"><input name = "number3" type = "text"size = "15"></th>
          <th width="10%" id = "number4"><input name = "number4" type = "text"size = "10"></th>
          <th width="10%" id = "number5"><input name = "number5" type = "text"size = "10"></th>
          <th width="10%" id = "number6"><input name = "number6" type = "text"size = "20"></th>
          <th width="9%"  id = "cl" ondblclick="cleak()">刪除</th>
        </tr>
       </c:forEach>
        <c:forEach items="${somelist3}"var="u">
        <tr id='mytr'>
          <th width="16%" id ="lh"><c:out value="${u.nlh}"></c:out></th>
          <th width="16%" id = "pm"><c:out value="${u.npm}"></c:out></th>
          <th width="15%" id = "gg"><c:out value="${u.ngg}"></c:out></th>
          <th width="5%"  id = "number2"><input name = "number2" type = "text"size = "8"></th>
          <th width="9%" id = "number3"><input name = "number3" type = "text"size = "15"></th>
          <th width="10%" id = "number4"><input name = "number4" type = "text"size = "10"></th>
          <th width="10%" id = "number5"><input name = "number5" type = "text"size = "10"></th>
          <th width="10%" id = "number6"><input name = "number6" type = "text"size = "20"></th>
          <th width="9%"  id = "cl" ondblclick="cleak()">刪除</th>
        </tr>
       </c:forEach>
       <c:forEach items="${towlist}"var="u">
        <tr id='mytr'>
          <th width="16%" id ="lh"><c:out value="${u.slh}"></c:out></th>
          <th width="16%" id = "pm"><c:out value="${u.spm}"></c:out></th>
          <th width="15%" id = "gg"><c:out value="${u.sgg}"></c:out></th>
          <th width="5%"  id = "number2"><input name = "number2" type = "text"size = "8"></th>
          <th width="9%" id = "number3"><input name = "number3" type = "text"size = "15"></th>
          <th width="10%" id = "number4"><input name = "number4" type = "text"size = "10"></th>
          <th width="10%" id = "number5"><input name = "number5" type = "text"size = "10"></th>
          <th width="10%" id = "number6"><input name = "number6" type = "text"size = "20"></th>
          <th width="9%"  id = "cl" ondblclick="cleak()">刪除</th>
        </tr>
       </c:forEach>
       <c:forEach items="${listF}"var="u">
          <tr id='mytr'>
          <th width="16%" id ="lh"><c:out value="${u.flh}"></c:out></th>
          <th width="16%" id = "pm"><c:out value="${u.fpm}"></c:out></th>
          <th width="15%" id = "gg"><c:out value="${u.fgg}"></c:out></th>
          <th width="5%"  id = "number2"><input name = "number2" type = "text"size = "8"></th>
          <th width="9%" id = "number3"><input name = "number3" type = "text"size = "15"></th>
          <th width="10%" id = "number4"><input name = "number4" type = "text"size = "10"></th>
          <th width="10%" id = "number5"><input name = "number5" type = "text"size = "10"></th>
          <th width="10%" id = "number6"><input name = "number6" type = "text"size = "20"></th>
          <th width="9%"  id = "cl" ondblclick="cleak()">刪除</th>
        </tr>
       </c:forEach>
      </table>