<html> <f:view>
<f:verbatim>
<head>

<BASE target="_self">
<meta http-equiv="expires" content="0">
<meta http-equiv="Pragma" content="no-cache">
<title></title>
</head>
<body>
<IFRAME id="myIframe" src="aFrame.jsf" frameborder="0" style="height:100%" width="100%" scrolling="no"></IFRAME>
</body>
</f:verbatim>
</f:view>
</html>

解决方案 »

  1.   

    或者<html>
    <head>
    <title></title>
    <META HTTP-EQUIV="expires" CONTENT="-1">
    <META HTTP-EQUIV="Pragma" CONTENT="no-cache">
    </head>
    <body leftmargin="0" topmargin="0">
    <f:view> <t:panelGrid align="center" border="1" cellpadding="0" cellspacing="0"
    style="width:776">
    <f:subview id="toparea">
    <jsp:include page="/pages/Top.jsp" />
    </f:subview>
    <f:subview id="navigatemenu">
    <jsp:include page="/pages/NavigateMenu.jsp" />
            </f:subview>
    </t:panelGrid>
    </f:view>
    </body>
    </html>
      

  2.   

    谢谢先!但是没有解决问题。
    你觉得这个可行吗?
    jsp-----------------------------------
    <f:view>
        <h:form>
           <table>
             <f:subview> 
               <f:verbtim>
                  <h:outputText value="#{Include.include} escpes="false" />
               </f:verbtim>       
             </f:subview>
           </table>
        </h:form>
    </f:view>faces-config.xml-----------------------
    <manage-bean>Include</manage-bean>
    <manage-class>com.my.bean</manage-class>
    <manage-scope>request</manage-scope>java------------------------------------public class Include {
     
        include方法的做用---
         
        public String getInclude(){
        
           StringBuffer buffer = new StringBuffer(1024);
           buffer.append("<c:import url=\"" + index.jsp + "\"></c:import>");
           return buffer.toString();    }
    }最后-------------------------------------
    ????????你知道会是什么样子吗?????????????
      

  3.   

    通过参数动态改变包含页面。介于纯JSF框架!其实不需要这么麻烦,但是..............说来话长!
      

  4.   

    而且不能JSF的定制标签,可怜JSF的扩展就这么白费了!