users@jersey.java.net

Re: [Jersey] Static references from JSP

From: James Strachan <james.strachan_at_gmail.com>
Date: Tue, 27 Jan 2009 10:59:57 +0000

2009/1/27 Paul Sandoz <Paul.Sandoz_at_sun.com>:
> Hi,
>
> I have forwarded this email to the relevant people.
>
> James, Craig, as of Servlet 2.5 is it possible to utilize a filter from
> which we decide to forward to static files or JSP pages or forward to
> Jersey?
>
> For example,
>
> void doFilter(ServletRequest request, ServletResponse response,
> FilterChain chain) {
> if (request is for Jersey) {
> forward request to Jersey
> } else {
> // Handle static files and JSPs
> chain.doFilter(req, res);
> }
> }

Ah cool - so we could maybe specify a list of URI patterns for Jersey
to ignore then right - and use Jersey via a filter rather than a
Servlet mapping?
-- 
James
-------
http://macstrac.blogspot.com/
Open Source Integration
http://fusesource.com/