I am using Bootstrap for designing web application. I have used navigation bar, header and footer in my home page. Now i want all those to be available for all web pages without rewriting the same code again and again everywhere. what should be done to get that.
The navigation bar is placed at the top of the page. Basic Navigation Bar: The . navbar class is used to create a navigation bar. The navbar is created responsive by using .
The header contains introductory information about the document. The nav is a menu that links to other documents.
Navigation Bars A standard navigation bar is created with <nav class="navbar navbar-default"> .
Make two Jsp Pages header.jsp and footer.jsp. which contains respective code. and include these pages in every where by using jsp:include
e.g <jsp:include="header.jsp"/>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With