Web page header, keep footer

Asked 2 years ago, Updated 2 years ago, 137 views

Usually, when you look at a website, no matter what menu you click, the header and footer remain the same

Should I say it's framed?

Header and footer are fixed no matter where you press it, and only the contents inside change.

I can't find the way to implement it;m;

html5 css3 jsp javascript

2022-09-22 15:22

1 Answers

What you are looking for is a view element called templates, layouts. You create a template (or layout) consisting of a header, a footer, and a blank between them, and when you call a real view, you fill in the blank to show it.

JSP is tagged, so if you look for "jsp layout", you can just use include or Tiles.


2022-09-22 15:22

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.