This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have Dawn & David Griffiths on-line!
See this thread for details.
The moose likes Struts and the fly likes sitemesh exclude problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "sitemesh exclude problem" Watch "sitemesh exclude problem" New topic

sitemesh exclude problem

Josep M Serrainat

Joined: Sep 14, 2010
Posts: 16
Hello, I have a problem with sitemesh exclude rule. I have a this rules in my decorator.xml

Under /secure all jsp pages are fine decorated. My question is: is possible have exclude dir into /secure/* ?

I add this rule, into <excludes></excludes> but not work

I understand that sitemesh applies decorator under all /secure subdirs and this rule does not run.

I see that one possible solution is add subdirs to /secure. {/secure/decorator and /secure/forms}, after that use rules in this way

but..... it's possible use the first proposal?

Thank's for all.
Josep M Serrainat

Joined: Sep 14, 2010
Posts: 16
I forgot to say that /forms is a subdirectory into /secure of forms to return to ajax calls.

subject: sitemesh exclude problem
It's not a secret anymore!