Re: Mapping REST requests across multiple app contexts

2010-08-25 Thread Ken Fox
Charles Caldarale recommended UrlRewriteFilter and after experimenting with it, I agree it's very nice: great performance, very flexible and handles cross-context forwarding. The custom Valve option is still attractive because it has slightly better performance, slightly better cross-context suppor

RE: Mapping REST requests across multiple app contexts

2010-08-22 Thread Caldarale, Charles R
> From: Ken Fox [mailto:k...@vulpes.com] > Subject: Re: Mapping REST requests across multiple app contexts > > I looked at UrlRewriteFilter and it seemed designed for forwarding > within a context, not between contexts. Not true; forwards may cross contexts - look at the context a

Re: Mapping REST requests across multiple app contexts

2010-08-22 Thread André Warnier
Ken Fox wrote: chuck.caldar...@unisys.com wrote: If you place the standard rewrite filter in the ROOT context, you can catch any requests that do not directly map to the appropriate webapp and forward or redirect them appropriately. I looked at UrlRewriteFilter and it seemed designed for for

Re: Mapping REST requests across multiple app contexts

2010-08-22 Thread Ken Fox
chuck.caldar...@unisys.com wrote: > If you place the standard rewrite filter in the ROOT context, you can catch > any requests that do not directly map to the appropriate webapp and forward > or redirect them appropriately. > I looked at UrlRewriteFilter and it seemed designed for forwarding with

RE: Mapping REST requests across multiple app contexts

2010-08-21 Thread Caldarale, Charles R
> From: Ken Fox [mailto:k...@vulpes.com] > Subject: Mapping REST requests across multiple app contexts > > I'm trying to implement the rewrite as a Valve If you place the standard rewrite filter in the ROOT context, you can catch any requests that do not directly map to the appropriate webapp an