0 Replies Latest reply on Oct 17, 2006 3:13 AM by yegaofei888

    A question about IFrame in JBOSS Portal

    yegaofei888

      Hi all,

      Now I am transfering a struts application to JPortal application. And in the struts application, there are lot of IFrame tags.

      like :

       <IFRAME SRC="createDeal.do?name=<%=name%>&region=<%=us%>" > </IFRAME>
      


      I use the apache portal-struts-bridge to transfe this application. it works.
      and then the code looks like :
      <IFRAME SRC="<html:rewrite href='createDeal.do?name=<%=name%>&region=<%=us%>' actionURL='true' />" > </IFRAME>
      


      But I meet a problem.

      Although it can show the page in IFRAME, the IFRAME will show the whole page, which includes the head image and the footer of JPortal default page. And the page which contains the iframe also has the head image and the footer of JPortal default page.

      In other words, my portal page includes a iframe, the iframe includes another portal page. my client will not accept this view.

      So I just want to show the content of my jsp file without the layout of portal page.

      What shall I do ?

      Thanks in advance!