<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
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 'addCondition.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" type="text/css" href="styles.css">
--> <style type="text/css">
<!--
#Layer1 {
position:absolute;
width:573px;
height:386px;
z-index:1;
left: 71px;
top: 48px;
}
-->
    </style>
<script language="JavaScript">
/* <![CDATA[ */
function inputdisabled(s,o)
{
    if(s.checked)
    {
        o.disabled=false;
        return ;
    }
    o.disabled=true;    
}
var AttachEvent = function(s,o)
{
  return function()
  {
    inputdisabled(s,o);//该函数为外部定义的一个执行函数;
  }
}
function eventLoaded()
{
    var obj = document.getElementsByTagName("input");
    for(var i=0;i<obj.length;i++)
    {    
        if(obj[i].type=="checkbox")
        {
            obj[i].attachEvent("onclick", AttachEvent(obj[i],obj[i].parentNode.nextSibling.childNodes[0]));             
        }
    }
}
/* ]]> */
</script>
<%
List list = (ArrayList) request.getAttribute("condition");

%>
</head>
<body onload="eventLoaded()">
<form method="post" action="">
<div>
<table cellpadding="0" cellspacing="0" border="0" width="100%">
<tr> <td>
<input type="checkbox" name="" value="">

</td>
<td>
<input type="text" name="" value="123ddddddd" disabled>
</td>
</tr>
<tr>
<td>
<input type="checkbox" name="" value="">
</td>
<td>
<input type="text" name="" value="" disabled>
</td>
</tr>
</table>
</div>
</form>
</body>
</html>
list是取得checkbox与文本框之间的文本。有多个,怎么才能动态的生成一个动态表格。以及取得文本输入框中相对应的值。