users@jersey.java.net

Re: _at_RolesAllowed - Customizing error pages

From: Paul Sandoz <Paul.Sandoz_at_oracle.com>
Date: Mon, 29 Nov 2010 16:35:00 +0100

On Nov 29, 2010, at 4:12 PM, tmp wrote:

>
> Ah sorry you are right. It was a copy&paste error.
> In my code I do a correct check for 403 and 404.
>

OK, we are in sync now :-)

Hmm... given the web.xml you are using i am not sure what is going on,
you are using the regex filtering config rather than the forward on
404 config, the latter might theoretically result in some issues as
the template processing may not result in a committed response (i
would need to check if that is the case or not).

What does the tracing show?

What web container are you using?

Paul.