Is there a way to set SiteMesh to ignore certain JSPs?
You can tell SiteMesh to ignore specific jsp’'s by adding them to the element in the decorators.xml file, which is in the MESSENGER_HOME/src/web/WEB-INF directory.
Hope that helps,
To add to Ryan’'s suggestions – you can also specify a decorator of “none” inside the actual JSP page. This is detailed in the plugin developer guide. A snippet:
decorator (Optional) – overrides the Sitemesh decorator to use for the page. A decorator named none is available that will simply render the page without a decorator.
So, that would look like:
you can also specify a decorator of “none” inside the actual JSP page.
Cool, I hadn’'t looked at the updated developer guide. Great tip!