要实现如下页面代码的功能:<%@page pageEncoding="UTF-8"%>
<%@include file="/supres/template/common.jsp"%>
<%@taglib uri="http://www.ccb.cn/xmdc" prefix="xmdc"%>
<%
String RepositoryURL = RepositoryUtil.instance.getProValue("modify");
//System.out.println(RepositoryURL);
if (RepositoryURL == null || RepositoryURL.trim().equals("")) {
out.println("<script>alert('无法获得知识库查询URL信息!系统跳转失败!')</script>");
}

%>
<%@page import="cn.ccb.ccrm.repository.util.RepositoryUtil"%>
<html>
<title>知识库系统</title>
<head>
<META HTTP-EQUIV="Pragma" CONTENT="no-cache">
<META HTTP-EQUIV="Cache-Control" CONTENT="no-cache">
<META HTTP-EQUIV="Expires" CONTENT="0">
<META HTTP-EQUIV="Content-Type" content="text/html" /></head>
<frameset rows="*" cols="*" frameborder="1" border="0" framespacing="0">
<frameset rows="50,*" cols="*" framespacing="0" frameborder="0"
scrolling="No" border="0">
<frame src="tips.html" name="myFrame" id="myFrame" scrolling="No" />
<frame src="<%=RepositoryURL %>" name="mainFrame" id="mainFrame"
class="width" title="mainFrame">
</frameset>
</frameset>
</html>不用frameset页面框架实现,还有其他方法吗?
注:RepositoryURL为外系统的一个页面,已知该页面的一个js代码与frameset框架有冲突。
因此要换其他的实现方式。
希望论坛的大侠指点指点。
万分感激!!!

解决方案 »

  1.   

    其中tips.html为:
    <html>
    <head>
    <META HTTP-EQUIV="Pragma" CONTENT="no-cache">
    <META HTTP-EQUIV="Cache-Control" CONTENT="no-cache">
    <META HTTP-EQUIV="Expires" CONTENT="0">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title></title>
    </head>
    <body>
    <font color="red" >&nbsp;&nbsp;&nbsp;&nbsp;注意保密、请勿外传!</font>
    </body>
    </html>其实,只要实现在展现外系统的页面时,同时在页面给出提示信息就可以了。
    不局限于任何方法,只要能实现就行。
    希望路过的csdn网友们,给点建议哈!
    万分感激!!!!!!
      

  2.   

    用<iframe>页面框架试试呢?
      

  3.   

    直接include进来
    然后页面上加上 
    <font color="red" >&nbsp;&nbsp;&nbsp;&nbsp;注意保密、请勿外传!</font> 
      

  4.   

    =.=为什么要两个窗体~~~要页面的话直接AJAX加载好了·~~速度还快~~~给它个div就好了
      

  5.   

    那个页面是外系统的。我没办法加任何内容。
    后来有发现可以使用一个<object>标签,就可以实现所要的功能。
      

  6.   

    自己已解决。使用标签<object><object data="repositoryQuery.jsp" type="text/html" width="950" height="675"></object>