On 1 Dec 2010, at 14:35, Leo Donahue - PLANDEVX
<LeoDonahue@mail.maricopa.gov> 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?
Servlets exist inside the context, not the other way round.
> 2. If a filter can be mapped to a static resource, what is the servlet context?
The app is the context.
p
>
> Leo Donahue
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
|