Re: excludes again

Marc Logemann <[email protected]> Tue, 03 May 2005 17:43:29 +0200
Newsgroups gmane.comp.web.sitemesh.general
Message-ID <[email protected]>
Hi,

replying to myself (i really should consider to take an extra hour on my 
own so that i dont have to bug others...) it was in fact a combination 
of several things.

1. pda.html was a Struts ActionForward to a JSP resource so at the end i 
had to capture this URL instead of the pda.html

2. by reading the javadocs of PathMapper.java i got irritated by that one:

  * pm.put("five","/*\/admin/*.??ml");<br>

I dont know why there is an escape character in there, i blindly typed 
that URI syntax into my excludes block.

Since Excluding paths can be tricky some times (at least for me) it 
would be nice to have an own logging channel for that. I discovered that 
BaseFactory is doing the exclude evaluation and it would be nice to have 
some sort of INFO level logging of what URIs sitemesh gets and which of 
them get excluded based on the exclude list.

Can anyone tell me the state of logging in sitemesh? If i get some input 
i would check if i can send some patches.


Marc Logemann wrote:
> Hi,
> 
> i am getting crazy with the excludes mechanism. The irony of it, it 
> worked for me a few days ago and now i cant get it to work at all. Must 
> be something trivial. I want to exclude this URL:
> 
> http://localhost:8080/Netversys/pda.html


-- 
regards
Marc Logemann
http://www.logemann.org
http://www.logentis.de

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]