decorator « MVC « Spring Q&A





1. sitemesh and spring MVC decorator pattern problems    stackoverflow.com

I have sitemesh with spring working, this is the configuration: decorator.xml

<?xml version="1.0" encoding="UTF-8"?>
<decorators defaultdir="/styles">
    <excludes>
        <pattern>/exclude.jsp</pattern>
       ...

2. Pattern matching using decorators    stackoverflow.com

I want to define a specific URL pattern using Sitemesh decorators.xml. I want to define a decorator that matches all URLs ending with "/story/_NUMBER_" to be targetted by the decorator. ...