网页框架跟你用jsp,asp或php无关它是由html来完成的如:
<script language=JScript>
window.moveTo(0,0);
</script>
<html>
<head>
<meta HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=gb2312">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>123</title>
</head><frameset rows="141,528*" frameborder="NO" border="0" framespacing="0" cols="*">
<frame name="topFrame" src="top.asp" marginwidth="0" marginheight="0" scrolling="NO" noresize frameborder="NO" >
<frameset rows="1800,162" frameborder="NO" border="0" framespacing="0" cols="*">
<frameset cols="146,568*" frameborder="NO" border="0" framespacing="0" rows="*">
<frame name="leftFrame" scrolling="NO" noresize src="left1.asp" marginwidth="0" marginheight="0">
<frame name="main" src="right.asp" marginwidth="0" marginheight="0">
</frameset>
<frame name="bottomFrame" scrolling="NO" noresize src="bottom.asp" marginwidth="0" marginheight="0">
</frameset>
</frameset> <noframes>
<body> <p>此网页使用了框架,但您的浏览器不支持框架。</p> </noframes>
</frameset>
<script language=JScript>
window.moveTo(0,0);
</script>
<html>
<head>
<meta HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=gb2312">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>123</title>
</head><frameset rows="141,528*" frameborder="NO" border="0" framespacing="0" cols="*">
<frame name="topFrame" src="top.asp" marginwidth="0" marginheight="0" scrolling="NO" noresize frameborder="NO" >
<frameset rows="1800,162" frameborder="NO" border="0" framespacing="0" cols="*">
<frameset cols="146,568*" frameborder="NO" border="0" framespacing="0" rows="*">
<frame name="leftFrame" scrolling="NO" noresize src="left1.asp" marginwidth="0" marginheight="0">
<frame name="main" src="right.asp" marginwidth="0" marginheight="0">
</frameset>
<frame name="bottomFrame" scrolling="NO" noresize src="bottom.asp" marginwidth="0" marginheight="0">
</frameset>
</frameset> <noframes>
<body> <p>此网页使用了框架,但您的浏览器不支持框架。</p> </noframes>
</frameset>
例如,你右边的frame定义的名字是right,左侧写链接时
<a href="/index.jsp?aaa=aaa&bbb=bbb" target="right">连接到右侧</a>