日期:2014-05-17  浏览次数:20742 次

jsp同步提交一个页面中的多个form?
<body>
  <div id="tb_" class="tb_ no-print">
    <ul>
      <li id="tb_1" class="hovertab" onclick="x:HoverLi(1);"> 第一页 </li>
      <li id="tb_2" class="normaltab" onclick="i:HoverLi(2);"> 第二页 </li>
      <li id="tb_3" class="normaltab" onclick="i:HoverLi(3);"> 第三页</li>
      <li id="tb_4" class="normaltab" onclick="i:HoverLi(4);"> 第四页 </li>
      <li id="tb_5" class="normaltab" onclick="i:HoverLi(5);"> 第五页</li>
    </ul>
  </div>
 <form action="test.action" id="form1"  name="form1" method="post">
<div class="ctt" id="tbc_01">
  <table width="70%" height="100" border="0">
    <tr>
      <td height="57"><input type="text" name="user1.t1" value=""></td>
    </tr>
  </table>
</div>
</form>
<!--------------------1 end---------------------------------------------->
 <form action="test.action" id="form2"  name="form2" method="post">
<div class="undis" id="tbc_02">
  <table width="70%" height="100" border="0">
    <tr>
      <td height="57"><input type="text" name="user2.t2" value=""></td>
    </tr>
  </table>
</div>
</form>
<!--------------------2 end---------------------------------------------->
 <form action="test.action" id="form3"  name="form3" method="post">
<div class="undis" id="tbc_03">
  <table width="70%" height="140" border="0">
    <tr>
      <td height="57"><input type="text" name="user3.t3" value=""></td>
    </tr>
  </table>
</div>
</form>
<!--------------------3 end---------------------------------------------->
 <form action="test.action" id="form4" name="form4" method="post">
<div class="undis" id="tbc_04">
  <table width="70%" height="140" border="0">
    <tr>
      <td height="57"><input type="text" name="user4.t4" value=""></td>
    </tr>
  </table>
</div>
</form>
<!--------------------4 end---------------------------------------------->
 <form action="test.action" id="form5" name="form5" method="post">
<div class="undis" id="tbc_05">
  <table width="70%" height="140" border="0">
    <tr>
      <td height="57"><input type="text" name="user5.t5" value=""></td>
    </tr>