日期:2014-05-16  浏览次数:20387 次

JSP IFRAME 使用
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
 
    <title>My JSP 'MyJsp.jsp' starting page</title> 
  </head>
 
<body>
<table width="100%" height="4%">
<tr>
<td align="center" width="6%">
<font face="arial,helvetica.sanserif" color="#0072E3" size="6">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;QRA MS&nbsp;&nbsp;</font><font color="#0072E3" size="6">MainPage</font>
</tr>
</table>

<table width="100%"  height="90%" border="1" cellspacing="0" cellpadding="1" bordercolor="#84C1FF">
<tr>
<td width="18%">
<table width="100%" height="100%" border="1" cellspacing="5" cellpadding="1" bordercolor="#84C1FF">
<tr align="left">
<td bgcolor="#FFFFFF"><a href="http://www.baidu.com" target="content"><b><font face="arial,helvetica.sanserif" color="#FFAF60">MTDRunMain</font></b></a></td>
</tr>
</table>
</td>
<td width="80%">
<iframe id="content" style="overflow-x: auto; overflow-y: auto" name="content" src="index.jsp"  width="100%" height="100%"   allowTransparency="true"></iframe>
</td>
</tr>
</table>
</body>
</html>