The include directive is used to insert text and code at
JSP translation time.
The file that the file attribute points to can reference a normal text HTML file or it can reference a JSP file, which will be evaluated at
translation time. It is important to note that after the initial request is
processed, the data included does not change until the included file is changed and the server is restarted.
The <jsp:include> action provides a mechanism for including additional
static and dynamic resources
in the current JSP page. The syntax for this action is as follows:
SCJP 1.4, SCWCD 1.4
"Any fool can write code that a computer can understand. Good programmers write code that humans can understand."
- Martin Fowler et al, Refactoring: Improving the Design of Existing Code, 1999