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 pool.
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 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 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 posting and then answering your own question?! ;)

Yoav Shapira



This e-mail, including any attachments, is a confidential business
communication, and may contain information that is confidential, proprietary
and/or privileged.  This e-mail is intended only for the individual(s) to
whom it is addressed, and may not be saved, copied, printed, disclosed or
used by anyone else.  If you are not the(an) intended recipient, please
immediately delete this e-mail from your computer system and notify the
sender.  Thank you.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to