是否可以在 decorator.xml 中添加一些可配置的参数?我需要做类似的事情:
<decorator name="sample" page="sample.jsp">
<pattern>/sample.${my.own.ext}</pattern>
</decorator>
<decorator name="example" page="example.jsp">
<pattern>/example.${my.own.ext}</pattern>
</decorator>
并在一些配置文件 mycfg.parameters 中放置:
my.own.ext=myhtm
因此可以更改为其他服务
除了为其他服务创建许多 decorator.xml 文件之外,还有其他解决方案吗?