两个table一个from提交的时候得不到输入的值
<%@page import="org.springframework.web.context.request.SessionScope"%>
<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core_rt" %>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jstl/fmt_rt" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">
<title>My JSP 'select.jsp' starting page</title>
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
<link rel="stylesheet" href="css/north.css" type="text/css"></link>
<script type="text/javascript" src="easyui/jquery-1.7.1.min.js"></script>
<script type="text/javascript" src="easyui/jquery.easyui.min.js"></script>
<link rel="stylesheet" href="easyui/themes/cupertino/easyui.css" type="text/css"></link>
<link rel="stylesheet" href="easyui/themes/icon.css" type="text/css"></link>
<script type="text/javascript" src="easyui/locale/easyui-lang-zh_CN.js"></script>
<script type="text/javascript">
var gzcontent="";
function addTable()
{
var tableID=document.all.loop;
var oRow=tableID.insertRow(tableID.rows.length);
var oCell=oRow.insertCell(oRow.cells.length);
oCell.innerHTML=gzcontent;
}
function initContent()
{
gzcontent=document.all.tb1.outerHTML;
}
function delrow(){
var tab =document.getElementById("loop");
var rows = tab.rows.length;
if(rows>1){
tab.deleteRow("td");//table中的行索引是从0开始的
}else{
alert("Sorry!本行不能删除!");
}
}
function shenqing() {
window.location='<%=basePath%>people/suAppappAction.action';
}
</script>
</head>
<body onload="initContent()">
<h1 style="margin-left:470px;" >填写申请单</h1>
<table style="border-collapse:collapse;" border="1" cellspacing="0">
<tr>
<td style="width:170px;" align="center"><strong>申请物品</strong></td>
<td style="width:156px;" align="center"><strong>申请时间</strong></td>
<td style="width:166px;" align="center"><strong>申请人名</strong></td>
<td style="width:162px;" align="center"><strong>数量</strong></td>
<td style="width:160px;" align="center"><strong>下个处理人</strong></td>
<td style="width:156px;" align="center"><strong>当前状态</strong></td>
<td style="width:216px;" align="center"><strong>操作</strong></td>
</tr>
</table>
<div>
<form action="<%=basePath%>people/suAppappAction.action" method="post">
<table border="1" id="loop" cellspacing="0">
<tr>
<td>
<table id="tb1">
<tr>
<td align="center">
<select name="goods.GId" style="width:156px;">
<s:iterator value="listgoods">
<option value="<s:property value="GId"/>">
<s:property value="GName" />
</option>
</s:iterator>
</select>
</td>
<td align="center"><input name="afg.applyDate" type="text" class="easyui-datebox" required="required" /></td>
<td align="center">
<input name="emp.EId" type="hidden" value="${sessionScope.User.EId} ">
<input type="text" value="${sessionScope.User.EName} ">
</td>
<td align="center"><input name="afg.sapplyCount" type="text" ></td>
<td align="center">
<select id="status" name="emp.employeeByENextdealId" style="width:156px;">
<option value="0">部门经理</option>
</select>
</td>
<td align="center">
<select id="status" name="afg.applyStatus" style="width:156px;">
<option value="2">待审批</option>
</select>
</td>
<td align="center" >
<input type="button" value="继续申请物品" onclick="addTable()">
<input type="button" value="删除本行申请" onclick="delrow()">
</td>
</tr>
<tr>
<td align="center"><strong>申请事由:</strong></td>
<td colspan="3"><input name="afg.applyReason" type="text" style="width: 500px;"></td>
</tr>
</table>
</td>
</tr>
</table>
<input type="submit" name="add" value="申请" style="width:56px;" onclick="shenqing()"/>
<input type="reset" name="resets" value="重置" style="width:56px;"/>
</form>
</div>
</body>
</html>
两个table一个from提交的时候得不到输入的值求大神赐教啊?????