I want this frame layout.

I have done this but what happens is  body is scrolllable and all are viewd on the screen so even though footer in least important it stays on screen and body is scrolled.

* HEADER                          *
*                                       *
*                                       *
* BODY                              *
*                                       *
*                                       *  
*FOOTER                          *

I want is similar to jsp include option
<@include top.jsp>
<@include body.jsp>
<@include bottom.jsp>

Thx for your help
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Hi applekanna,
Try setting up 3 IFrames each with it's source property set to one of the jsp pages. if the scrollable property is set to AUTO, then each will be separately scrollable.
Here's an example rearrange the geometry to suit:

<IFRAME NAME="Today" SRC="Top.jsp"
STYLE="position:absolute; top:0; Left:0; width: 100%; height: 20;">

<IFRAME NAME="Thought" SRC="body.jsp"
STYLE="position:absolute; top:0; left:0; width: 100%; height 110; font-size: 50%;">

<IFRAME NAME="News" SRC="bottom.jsp"
STYLE="position: absolute; left: 0; bottom: 0; width: 100%; height: 20;">

Regards .. Alan

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
applekannaAuthor Commented:
thx alan for ur qwik reponse

but does IFrames work with NN.

Dunni , I use IE. You may be able to do it with layers ??
.. Alan
Determine the Perfect Price for Your IT Services

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden with our free interactive tool and use it to determine the right price for your IT services. Download your free eBook now!

applekannaAuthor Commented:
this is what i have

    <frameset rows="*,60" border=0 bordercolor="#FFFFFF">
      <frameset cols="200,*" border=0 >
         <frame src="Menu.jsp" name="LeftFrame" noresize scrolling=no>
            <frameset rows="90,30,*" border=0 bordercolor="#FFFFFF">
              <frame src="c.jsp" name="Frame1" noresize scrolling=no >
              <frame src="b.jsp" name="Frame2" noresize scrolling=no >
              <frame src="a.jsp" name="Frame3" noresize scrolling=yes>
        <frame src="bottom.jsp" name="BottomFrame" noresize scrolling=no>

can iframes and framestes be combined

Thank q
Assuming you can use IFrames in NN, then yes, I've used iframes to provide independently scrollable regions within a frameset.
.. Alan
Hi Applekanna,

You can use server side includes. Save your header html in one file and footer html in another file and you can include these external files as:
<!--#include file="header.html" -->
<!--#include file="footer.html" -->

Save your files as .shtml and if you are using apache server, it should be configured to handle .shtml files. This can be done by adding the following directives:
  AddHandler server-parsed .shtml
  AddType    text/html     shtml

Another method is to use dreamweaver templates. Create a template with header, body, and footer in 3 different tables. In the templage, make only body table as an editable region. You can create pages using this template. Next time when you change the header or footer table in the template, changes will be done to all the pages derived from that template. This method is much faster compared to the previous one, as there is no extra work for the server.

All the best,
Kiran Makam
IFrames are supported in NS 6+ and Mozilla. Opera supports them also, altho I'm not sure what version they were implemented in -- I know that Opera 5 and higher supports them.

I would go for the serverside includes, myself.

ASP uses Apache-style includes (more or less).

In PHP, you can use the include() function. Source of page.php:

<!-- HTML for main body of page -->

You should not name include files with a .html extension because they're not complete HTML pages -- use .inc.

Also, the allowtransparency attribute is not legal HTML. Must be (yet) an(other) IE-only thing? It is better to code to the standards and avoid proprietary junk.
In this case, I'm not sure what the point would be of using jsp includes with iframes, as ADSaunders suggested. If you can use SSI that is any good you surely wouldn't be needing frames/iframes.

That said, here's my iframe version (not for NN4, and iffy in Opera 7.1).

<body style="margin:0px;padding:0px;overflow:hidden">
<iframe height="15%" width="100%" frameborder="0"  src="myheader.htm"></iframe>
<iframe id="contentiframe"  height="70%" width="100%" frameborder="0"  src="mycontent1.htm"></iframe>
<iframe height="15%"  width="100%" frameborder="0" src="myfooter.htm"></iframe>

If header and footer content does not vary you need only the central iframe.
Not as includes, but it does what you were asking for...

<frameset rows="*,80" frameborder="NO" border="0" framespacing="0">
  <frameset rows="80,*" frameborder="NO" border="0" framespacing="0">
  <frame name="topFrame" scrolling="NO" noresize src="header.jsp" >
  <frame name="mainFrame" src="body.jsp">
  <frame name="bottomFrame" scrolling="NO" noresize src="footer.jsp">
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.