I join to project where code duplication in JSP avoided by include JSP directive (static, like #include in C).
Included files follow same naming rul
The appropriate name for such JSP files is .jspf (JSP fragment), as explained in this question.
.jspf