Tuesday, November 18, 2014

How to Include Header and Footer in all Jsp files Dynamically


Include following tag in your web.xml file with your files proper path
it will include Header.jsp in header of all jsp file and Footer.jsp in footer of all the jsp files

<jsp-config>
<jsp-property-group>
<url-pattern>*.jsp</url-pattern>
<include-prelude>/view/commons/Header.jsp</include-prelude>
<include-coda>/view/commons/Footer.jsp</include-coda>
</jsp-property-group>
</jsp-config>

1 comment:

Scrum and Scrum master

Scrum  Scrum is a framework which helps a team to work together.  It is like a rugby team (the scrum name comes from rugby game). Scrum enco...