我试了一个,不知合你的要求不,呵呵。
1.a.html:
<html>
<head>
</head>
<frameset rows="50%,*">
<frame src="aa.jsp" name="aa">
<frame src="bb.jsp" name="bb">
</frameset><noframes></noframes>
</html>
2.aa.jsp
<html>
<head>
<title>无标题文档</title>
</head><body>
<form name="form1">
<table>
<tr>
<td><a href="bb.jsp" target="bb">bbb</a></td>//这里可以传数据过去,便于查询,注意target就行
</tr>
<tr>
<td><a href="cc.jsp" target="bb">ccc</a></td>
</tr>
</table>
</form>
</body>
</html>
3.bb.jsp
<html>
<head>
<title>无标题文档</title>
</head><body>
bbbbbbbb
</body>
</html>
4.cc.jsp
<html>
<head>
<title>无标题文档</title>
</head><body>
ccccccc
</body>
</html>其他的你要传数据啦,查询啦,条件啦,你就加吧。
1.a.html:
<html>
<head>
</head>
<frameset rows="50%,*">
<frame src="aa.jsp" name="aa">
<frame src="bb.jsp" name="bb">
</frameset><noframes></noframes>
</html>
2.aa.jsp
<html>
<head>
<title>无标题文档</title>
</head><body>
<form name="form1">
<table>
<tr>
<td><a href="bb.jsp" target="bb">bbb</a></td>//这里可以传数据过去,便于查询,注意target就行
</tr>
<tr>
<td><a href="cc.jsp" target="bb">ccc</a></td>
</tr>
</table>
</form>
</body>
</html>
3.bb.jsp
<html>
<head>
<title>无标题文档</title>
</head><body>
bbbbbbbb
</body>
</html>
4.cc.jsp
<html>
<head>
<title>无标题文档</title>
</head><body>
ccccccc
</body>
</html>其他的你要传数据啦,查询啦,条件啦,你就加吧。
<frame src="list.asp" name="frame1" frameborder="no" scrolling="auto" noresize marginwidth="0" marginheight="0">
<frame src="info.asp" name="frame2" frameborder="no" scrolling="auto" noresize marginwidth="0" marginheight="0">
</frameset>
在list.asp中
<a href="info.jsp" target="frame2">aa</a>
<a href="info.jsp?value=bb" target="frame2">bb</a>...
循环生成的info.asp中
getparameter("value")取得流水号 再去数据库查询详细信息就行了
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<LINK href="style.css" type=text/css rel=stylesheet>
<title>无标题文档</title>
</head>
<body>
<table align=center border='1' cellspacing='0' cellpadding='2' >
<tr id="testTr">
<td id=join1 onmouseup=Turn('111') style="cursor:hand">显示111</td>
<td id=join2 onmouseup=Turn('222') style="cursor:hand">显示222</td>
</tr>
</table>
<p> </p>
<p> </p>
<table border="1" width="100%">
<tr align=center id="111" style="display:">
<td colspan="2">11111111111111</td>
</tr>
<tr align=center id="222" style="display:none">
<td colspan="2">22222222222222222</td>
</tr>
</table>
</body>
</html>
<script language="javascript">
function Turn(mm)
{
var addNodeTest=document.createElement("td")
var test=document.all(mm)
if(test.style.display=="none")
{
test.style.display=""
}
else
{test.style.display="none"
}
}
</script>
<head>
<title>无标题文档</title>
</head>
<body>
<table align=center border='1' cellspacing='0' cellpadding='2' >
<tr id="testTr">
<td id=join1 onmouseup=Turn('你点的是111111') style="cursor:hand">显示111</td>
<td id=join2 onmouseup=Turn('你点的是222222') style="cursor:hand">显示222</td>
</tr>
</table>
<p> </p>
<p> </p>
<table border="1" width="100%">
<tr align=center id="111" style="display:none">
<td colspan="2" id="oneTd"></td>
</tr>
<tr align=center id="111" style="display:none">
<td colspan="2" id="twoTd"></td>
</tr>
</table>
</body>
</html>
<script language="javascript">
function Turn(showData)
{
var test=document.all("111")for(var i=0;i<test.length;i++)
{
if(test[i].style.display=="none")
test[i].style.display=""
}
document.all("oneTd").innerText=showData//这而换成传进来的数组
document.all("twoTd").innerText=showData
}
</script>
<html>
<head>
</head>
<frameset rows="50%,*">
<frame src="aa.jsp" name="aa">
<frame src="bb.jsp" name="bb">
</frameset><noframes></noframes>
</html>
2.aa.jsp
<html>
<head>
<title>test</title>
</head><body>
<form name="form1">
<table>
<tr>
<td><a href="bb.jsp" target="bb">bbb</a></td>//这里可以传数据过去,便于查询,注意target就行
</tr>
<tr>
<td><a href="cc.jsp" target="bb">ccc</a></td>
</tr>
</table>
</form>
</body>
</html>
3.bb.jsp
<html>
<head>
<title>test</title>
</head><body>
b
</body>
</html>
4.cc.jsp
<html>
<head>
<title>test</title>
</head><body>
c
</body>
</html>
如果是在同一个页面:可以用url带参数提交的方式
如果是框架结构:似乎用javascript的方式实现更好!