refactor Sitemesh layout feature to work in SpringMVC view without a servletfilter