用框架技术,显示的始终是框架页的名称。
给你个例子:
<!doctype html public "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>首页</title>
</head>
<frameset rows="52,*" frameborder="0" framespacing="3" resize="yes">
  <frame name="headerFrame" scrolling="NO" noresize src="header.htm" marginwidth="0" marginheight="0">
  <frameset cols="23%,*" resize="yes">
   <FRAME title="xmlTree" src="deeptree.htm" name="mainFrame" resize="yes" marginwidth="10" marginheight="0" onload="this.focus()" style="border-right:1px solid black;">
   <FRAME title="main" src="main.jsp"  name="rightFrame" marginwidth="15" marginheight="10" resize="yes" >
  </frameset>
</frameset>
</html>
这个index.html就始终显示index.html