<frameset rows="94,373*" cols="*" framespacing="5" frameborder="yes" border="5" bordercolor="#0033FF">
<frame src="flag.html" name="topFrame" scrolling="no" noresize="noresize" id="topFrame" />
<frameset rows="*" cols="261,*" framespacing="5" frameborder="yes" border="5" bordercolor="#0066FF">
<frame name="left.jsp" scrolling="auto" id="leftFrame" target="mainFrame" src="left.jsp"/>
<frame name="mainFrame" scrolling="no" marginwidth="0" marginheight="0" src="system/school.jsp"/>
</frameset>
<noframes>
<body>
</body>
</noframes>
</frameset>
怎样使left.jsp 中的内容显示到main窗口中,我使用target不能跳转,请哪位高手帮帮,不胜感激.
<frame src="flag.html" name="topFrame" scrolling="no" noresize="noresize" id="topFrame" />
<frameset rows="*" cols="261,*" framespacing="5" frameborder="yes" border="5" bordercolor="#0066FF">
<frame name="left.jsp" scrolling="auto" id="leftFrame" target="mainFrame" src="left.jsp"/>
<frame name="mainFrame" scrolling="no" marginwidth="0" marginheight="0" src="system/school.jsp"/>
</frameset>
<noframes>
<body>
</body>
</noframes>
</frameset>
怎样使left.jsp 中的内容显示到main窗口中,我使用target不能跳转,请哪位高手帮帮,不胜感激.
<jsp:include flush="true" page="head.jsp"></jsp:include>
<jsp:include flush="true" page="tail.jsp"></jsp:include>
<jsp:include flush="true" page="right.jsp"></jsp:include>
<jsp:include flush="true" page="left.jsp"></jsp:include>
四个指令包含进来即可。
<frame src="flag.html" name="topFrame" scrolling="no" noresize="noresize" id="topFrame" />
<frameset cols="261,*" framespacing="5" frameborder="yes" border="5" bordercolor="#0066FF">
<frame name="leftFrame" scrolling="auto" id="leftFrame" target="mainFrame" src="left.jsp"/>
<frame name="mainFrame" scrolling="no" marginwidth="0" marginheight="0" src="system/school.jsp"/>
</frameset>
</frameset>
<noframes>
<body>
</body>
</noframes>
应该是可以的了啊,你的target应该是设置在left.jsp里的<a src="" target="mainFrame">上边
<jsp:include flush="true" page="head.jsp"></jsp:include>
<jsp:include flush="true" page="tail.jsp"></jsp:include>
<jsp:include flush="true" page="right.jsp"></jsp:include>
<jsp:include flush="true" page="left.jsp"></jsp:include>
这种方式比较好