我目前正将我的Spring项目迁移到JavaConfig。现在仍有tiles.xml
包含切片定义。
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE tiles-definitions PUBLIC "-//Apache Software Foundation//DTD Tiles Configuration 2.0//EN" "http://tiles.apache.org/dtds/tiles-config_2_0.dtd">
<tiles-definitions>
<!-- Layouts -->
<definition name = "template.base" template = "/WEB-INF/views/layout/template.jsp" />
<!-- Example Controller -->
<definition name = "test" extends = "template.base" />
</tiles-definitions>
是否可以将该XML配置文件转换为新的JavaConfig标准?