Moreover, is there a particular practice/way to have a cascading style sheet automatically call a footer div in every instance when <body>
or <html>
tags are present.
Asked
Active
Viewed 109 times
1

stackoverflow
- 18,348
- 50
- 129
- 196
2 Answers
1
I think you are looking for a page decoration system. There are several, like jsp-decorator. There's also a pretty extensive discussion about JSP page decoration here on SO.
CSS applies style to page elements, it does not insert stuff into pages...
The SiteMesh tutorial might help to understand what page decoration is about...
-
This footer will have dynamic content and must be present across every page within the site. Is this the way of creating a footer footer section without having to painfully going to every page and writing– stackoverflow Aug 30 '11 at 17:15
-
@captain that is exactly what a decorator system aims to solve, please read some of the links. – fvu Aug 30 '11 at 17:22
1
Jsp templates can be used.
JSP templates to encapsulate Webpage layout and encourage modular design

Srikanth Venkatesh
- 2,812
- 1
- 20
- 13