On Wed, 24 Oct 2001, Deacon Marcus wrote:
> Date: Wed, 24 Oct 2001 16:20:11 +0200
> From: Deacon Marcus <[EMAIL PROTECTED]>
> Reply-To: [EMAIL PROTECTED]
> To: [EMAIL PROTECTED]
> Subject: Filters on error/index pages
>
> Hi,
> Are Filters applied to index (default in folder) or error pages? I'm not
> 100% positive from the documentation. Sorry if it's basic or obvious when
> looking at source, but I'm recovering from caffeine overdose (my doc says
> half of what I took should be enough to kill me ;/ ) and have killer
> headaches so my iq and concentration ability are at 25% normal, and my
> deadlines are near :(
>
> Thanks in advance, greetings, deacon Marcus
>
>
The basic rule is that Filters are applied *only* on the originally
requested URL from the client. In practice, that means the following:
- Request to a servlet or JSP page - yes
- Static resources in the webapp - yes (*)
- RequestDispatcher.include() - no
- RequestDispatcher.forward() - no
- Error page - no
(*) In a web-connected environment, you must ensure that your
configuration respects this requirement. The mod_webapp
connector understands it already, but mod_jk must be explicitly
configured to forward requests for static resources that must
be filtered.
Craig