JSP programming best practice: Use an appropriate inclusion mechanism

JSP supports two inclusion mechanisms: Static include and Dynamic include.

Whereas the dynamic include is more flexible than the static include, it falls short in terms of efficiency. As a consequence, use static includes whenever possible so as to avoid performance issues.


Related reference
JSP programming best practice: Use the .jspf extension for JSP segments
WebSphere Commerce JSP programming best practices
JSP programming best practice: Use Commerce-specific maps to access request parameters