I'm developing an application that uses SiteMesh 2.4.2 together with Spring MVC.
I'd like to have two decorators, e.g. :
<decorators>
<decorator name="special" page="/WEB-INF/jsp/specialtemplate.jsp">
<pattern>/something/*</pattern>
</decorator>
<decorator name="main" page="/WEB-INF/jsp/pagetemplate.jsp">
<pattern>/*</pattern>
</decorator>
</decorators>
The problem is that only the main decorator is applied (also for pages /something/...)
How should I properly configure the decorators, so that for pages from /something/... the dedicated one is used?
the urls I'd like to use the specific template looks like http://server/context/something/etc