-
Just wondering if anyone know how to create frameset in a JSP. Thank you.
-
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
-
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>
-
I get your source to run,it is run well.
-
Janice,
It looks like you have the </FRAMESET> tag in the wrong place ... place it before the <NOFRAMES> tag and see what happens.
Steve