RE: Filters and load-on-startup

2004-03-16 Thread Shapira, Yoav
Hi, >Do filters get loaded before servlets regardless of load-on-startup value? I don't think so: as filters can be mapped to servlet-name, servlets must be loaded first. (Although I suppose you could read web.xml, so you have the servlet info, then instantiance filters, then instantiate servle

RE: Filters and load-on-startup

2004-03-16 Thread Ronald Wildenberg
> Hi, > > >Do filters get loaded before servlets regardless of load-on-startup > >value? > > I don't think so: as filters can be mapped to servlet-name, servlets > must be loaded first. (Although I suppose you could read web.xml, so > you have the servlet info, then instantiance filters, then in

RE: Filters and load-on-startup

2004-03-16 Thread Shapira, Yoav
Hi, >Actually, it is. SRV9.12 mandates the following load order: listeners, >filters, servlets (Servlet Specification 2.4). So any filters should be >loaded before any servlets, regardless of load-on-startup value. Yup, clear as day, thanks. I figured you'd have looked at the spec before postin

RE: Filters and load-on-startup

2004-03-16 Thread Blanchard, Raphael
the connection pool instantiated before the filter? Raphaƫl -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 16, 2004 10:49 AM To: Tomcat Users List Subject: RE: Filters and load-on-startup Hi, >Actually, it is. SRV9.12 mandates the followi

RE: Filters and load-on-startup

2004-03-16 Thread Shapira, Yoav
Hi, >Actually I asked the question. Problem is I don't want the filter to be >loaded first. I'm trying to implement a webapp-wide connection pool to >mysql as documented in "Java Servlet's Developper's guide". I have a class >'ConnectionServlet' that is creates and initializes the connection p

Re: Filters and load-on-startup

2004-03-16 Thread Christopher Schultz
Raphael, The webapp has a login filter that needs a connection from the connection pool. The webapp loads the login filter first. I don't really want to remove the filter because its integral to the application's design. Is there another solution, to getting the connection pool instantiated be