Rick Reumann <[EMAIL PROTECTED]> wrote on 09/09/2005 12:36:39 PM: > Craig McClanahan wrote the following on 9/9/2005 12:18 PM: > > > For Shale in particular, the "application controller" part of Shale is
> > implemented as a Commons Chain chain (similar in spirit to what's going on > > with Struts 1.3's request processor), so you can also implement a > check like > > this as one of the commands that gets executed on every request. To set up > > such commands, simply configure a chain named "preprocess" in catalog > > "shale" and it will get executed for you on every request. > > Is there a particular example that demonstrates this in the shale > examples. I see the chain-config.xml listed so would the set up for our > apps just need to .. > > > 3) we would provide a ContextRelativePathFilter class (Is this just a > standard class implementing Filter?) > Rick, here's where you can see the src for this class: struts-shale-core-library\src\java\org\apache\shale\application So ContextRelativePathFilter extends AbstractRegExpFilter which implements org.apache.commons.chain.Command ..which i nothing about.... (sigh..) Geeta