> 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 > servlets, but tomcat doesn't do this). > > I wouldn't rely on this order unless you had to, however, as it's not > mandated either way by the Servlet Specification. >
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. Regards, Ronald. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
