Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
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.


 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic