What is include directive?

It defines another page that gets added to the current jsp at translation time. It lets you to build reusable chunks(like header page, footer page, navigation bar) that can be added to each page without having to duplicate all that code in each jsp.
<%@include file=”relative URL”%>

No comments:

Post a Comment