spring - boot 整合sitemesh3 ··配置忽略path 无效

skhuhu 发布于 2016/09/02 10:44
阅读 2K+
收藏 0
public class SiteMeshFilter extends ConfigurableSiteMeshFilter {

	@Override
	protected void applyCustomConfiguration(SiteMeshFilterBuilder builder) {

		builder.addDecoratorPath("/*","/WEB-INF/jsp/decorators/decorator.jsp")
				.addExcludedPath("/logout");

	}

}



加载中
0
skhuhu
skhuhu
addExcludedPath 无效···而xml 文件却可以正常配置· 
0
q
qwe514
如何整合的啊。我是新手
返回顶部
顶部