Changed SiteMesh filter to JavaConfig.