Though we're usually including the header via an iframe, see for instance https://github.com/georchestra/georchestra/blob/master/config/defaults/mapfishapp/WEB-INF/jsp/header.jsp