完全正确,也可以用iframe ~~

解决方案 »

  1.   

    完全可以,而且用Iframe比用Frame好
      

  2.   

    用框架结构,给你一个简单的例子。
    jsp1************************
    <%@ page contentType="text/html; charset=GBK" %>
    <html>
    <head>
    <title>
    Jsp1
    </title>
    </head>
    <body>
    <h1>
    JSP1
    </h1>
    <form method="post">
    <br><br>
    </form>
    </body>
    </html>
    jsp2************************
    <%@ page contentType="text/html; charset=GBK" %>
    <html>
    <head>
    <title>
    Jsp2
    </title>
    </head>
    <body>
    <h1>
    JSP2
    </h1>
    <form method="post">
    <br><br>
    </form>
    </body>
    </html>
    jsp3************************
    <%@ page contentType="text/html; charset=GBK" %>
    <html>
    <head>
    <title>
    Jsp3
    </title>
    </head>
    <body>
    <h1>
    JSP3
    </h1>
    <a href="JSP1.jsp" target="content">jsp1</a><br>
    <!--h1 align=center>OK</h1--><p>
    <a href="JSP2.jsp" target="content">jsp2</a>
    <form method="post">
    <br><br>
    </form>
    </body>
    </html>
    jsp4************************
    <%@ page contentType="text/html; charset=GBK" %>
    <html>
    <head>
    <title>
    Jsp4
    </title>
    </head>
    <body>
    <h1>
    JSP4
    </h1>
    <h1 align=center></h1>
    <form method="post">
    </form>
    </body>
    </html>
    over************************
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
    <title>无标题文档</title>
    </head><frameset cols="15%,*" framespacing="1" frameborder="yes" border="1" bordercolor="#CC0000">
      <frame src="jsp3.jsp" name="leftFrame" scrolling="no" resize>
      <frame src="jsp1.jsp" name="mainFrame">
    </frameset>
    <noframes><body>
    </body></noframes>
    </html>
      

  3.   

    对用框架就可以,也就是他们所说的frame or iframe(内置)