Instead of simply inserting template (which in your case is not template at all) you should extend it. Using <tiles:insertDefinition> and <tiles:putAttribute>