Usually, while developing applications, there is a common header and footer for all pages.Such header and footer pages can either be saved as a jsp file or as a html file. If there are no dynamic contents in the header & footer file, then,is it advisable to save them as html pages and then use the <% @ include file="header.html" %>. Or is it advisable to have it as a jsp file and access it using the tag <jsp: include page="header.jsp">.

Sujatha Gopal

Unless there is no dynamic content in any page (not only Header and Footer), go for HTML pages only.

0 Comments  (click to add your comment)
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

About | Sitemap | Contact