Freemarker에서는 이렇게 사용을 합니다.
<#include "/common/copyright.ftl">
같은 경로에 파일이 존재 할때는
<#include "./common/copyright.ftl">
상위 폴더에 존재할 때는 다음과 같이,
<#include "*/common/copyright.ftl">
요렇게 사용도 가능합니다.
<#include "commons/*/footer.ftl">
spring, freemarker와 webwork를 보고 있으면 참 유연한 구조가 가능하다는 생각을 합니다.
framework를 만들 때는 삽질과 경험이 많아야 좋은 솔루션을 만들어내는 듯합니다...^^
참고
http://freemarker.sourceforge.net/docs/ref_directive_include.html
