Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Can't seem to get any Sitemesh decorator patterns to work except for the /*  RSS feed

Tony Ennis
Ranch Hand
Posts: 86
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
We have a sample Spring+Sitemesh app. It does little to nothing. The decorators.xml file is

This seems to be ok - the pages I display are suitably decorated.

A sample URL is http://localhost:8080/app/message

I am experimenting, however, and would like to specify a more specific patten in the decorator that only works for 'message.' I can't get it to work - the application displays the JSP without decorating it.

Any pointers would be appreciated.

It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!