Andreas,
Firstly, the servlet with db connections should be created and added to the
ServletContext (hence not really a servlet). All other servlets can than
access this object via getServletContext.getAttribute() etc.
This servlet is defined as a servlet, loaded on initialisation. You must
Hi,
See intermixed.
-Original Message-
From: Andreas Byström [mailto:[EMAIL PROTECTED]
Sent: 7. mars 2003 10:20
To: Tomcat Users
Subject: Share Java resources between two (or more) servlets
Hi all!
I'm writing an application that uses (for now) 4 different
servlets. I
mars 2003 11:54
To: Tomcat Users List
Subject: RE: Share Java resources between two (or more) servlets
Hi,
See intermixed.
-Original Message-
From: Andreas Byström [mailto:[EMAIL PROTECTED]
Sent: 7. mars 2003 10:20
To: Tomcat Users
Subject: Share Java resources between two (or more
Java resources between two (or more) servlets
Andreas,
Firstly, the servlet with db connections should be created and added to the
ServletContext (hence not really a servlet). All other servlets can than
access this object via getServletContext.getAttribute() etc.
This servlet is defined
To: Tomcat Users List
Subject: RE: Share Java resources between two (or more) servlets
Andreas,
Firstly, the servlet with db connections should be created and added to the
ServletContext (hence not really a servlet). All other servlets can than
access this object via
resources between two (or more) servlets
Hi,
See intermixed.
-Original Message-
From: Andreas Byström [mailto:[EMAIL PROTECTED]
Sent: 7. mars 2003 10:20
To: Tomcat Users
Subject: Share Java resources between two (or more) servlets
Hi all!
I'm writing an application that uses