How do we create frameset in a JSP?

Discussions

Web tier: servlets, JSP, Web frameworks: How do we create frameset in a JSP?

  1. How do we create frameset in a JSP? (4 messages)

    Just wondering if anyone know how to create frameset in a JSP. Thank you.

    Threaded Messages (4)

  2. How do we create frameset in a JSP?[ Go to top ]

    Janice,

    Framesets in JSP are the same as framesets in HTML, just use the proper HTML tags. You can even build the framesets dynamically.

    Steve
  3. How do we create frameset in a JSP?[ Go to top ]

    Steve,

    thank you for your response, I have the following code working in a HTML file, but doesn't work when it is in a JSP file. Any idea? Many thanks.

    <HTML>
    <HEAD>

    <TITLE>Some Title</TITLE>
    </HEAD>

    <FRAMESET COLS="760,28*" frameborder="no" BORDER="0" NORESIZE>
    <FRAMESET ROWS="71,69*,21">

    <FRAME SRC="header.html" NAME="header" SCROLLING="no" MARGINHEIGHT="0" MARGINWIDTH="0" NORESIZE>

    <FRAMESET COLS="170,*">
    <FRAME SRC="navigation.html" NAME="left" SCROLLING="auto" MARGINHEIGHT="0" MARGINWIDTH="0" NORESIZE>
    <FRAME SRC="content.html" NAME="body" SCROLLING="auto" MARGINHEIGHT="0" MARGINWIDTH="0" NORESIZE>
    </FRAMESET>

    <FRAME SRC="footer.html" NAME="footer" SCROLLING="no" MARGINHEIGHT="0" MARGINWIDTH="0" NORESIZE>
    </FRAMESET>

    <NOFRAMES>
    <BODY>

    </BODY>
    </NOFRAMES>
    </FRAMESET>
    </HTML>
  4. How do we create frameset in a JSP?[ Go to top ]

    I get your source to run,it is run well.
  5. How do we create frameset in a JSP?[ Go to top ]

    Janice,

    It looks like you have the </FRAMESET> tag in the wrong place ... place it before the <NOFRAMES> tag and see what happens.

    Steve