I downloaded cocoon's source and am very slowly understanding how this
all works. Is there some classes/packages or doc file you could point
me/us at that gives the details about the sitemap-matching idea?
Also, Federico's example probably didn't capture the flexibility that
servlet's match attribute offers... RecipientIs is a class that
implements Match, and there are half a dozen of this simple classes that
come with JAMES. There are a number or ways you could want to check to
run a servlet aside from the recipients of a message... whether the
sender was local, whether the sender has a local account, maybe messages
that have ridiculous time stamps in the Date header.
Serge
Stefano Mazzocchi wrote:
>
> Federico Barbieri wrote:
>
> > <servlet match="[EMAIL PROTECTED]"...>
>
> Not sure I like this... hhmmm, no, I'm sure: I don't :)
>
> Why don't we use the cocoon sitemap-matching idea, instead?
>
> Take a look at the Cocoon sitemap, it's _a_lot_ equal.
>
> --
> Stefano Mazzocchi One must still have chaos in oneself to be
> able to give birth to a dancing star.
> <[EMAIL PROTECTED]> Friedrich Nietzsche
> --------------------------------------------------------------------
> Missed us in Orlando? Make it up with ApacheCON Europe in London!
> ------------------------- http://ApacheCon.Com ---------------------
>
> ------------------------------------------------------------
> To subscribe: [EMAIL PROTECTED]
> To unsubscribe: [EMAIL PROTECTED]
> Archives and Other: <http://java.apache.org/>
> Problems?: [EMAIL PROTECTED]
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Archives and Other: <http://java.apache.org/>
Problems?: [EMAIL PROTECTED]