tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Thomas <ma...@apache.org>
Subject Re: Filter questions
Date Wed, 01 Dec 2010 14:43:05 GMT
On 01/12/2010 14:34, Leo Donahue - PLANDEVX wrote:
> Servlet Spec 2.5
> SRV.6.2.1
> 
> "The container provides the filter config as
> declared in the filter's deployment descriptor, the reference to the ServletContext
> for the Web application, and the set of initialization parameters.'
> 
> 1.      How does Tomcat get a reference to a ServletContext before any servlet is created?
> 2.      If a filter can be mapped to a static resource, what is the servlet context?

Try reading the spec and/or the ServletContext Javadoc and all should be
clear.

Mark

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message