开发者

How can I produce an automatic footer without implicitly having to define one in every new jsp page I create?

Moreover, is there a particular practice/way to have a cascading style sheet automatically call a foote开发者_JAVA百科r div in every instance when <body> or <html> tags are present.


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...


Jsp templates can be used.

JSP templates to encapsulate Webpage layout and encourage modular design

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜