Hi All,
I'm a new Struts user, and I've been trying to figure out how to make sure
that my model's clean shutdown is called when the webapp is shutdown when
using Struts. With a regular servlet, it's quite easy -- just override
destroy() and put the clean-up call there, but in Struts I can't
Look at javax.ServletContextListener. The web app calls these objects when
it shutsdown.
robert
-Original Message-
From: Tal Rotbart [mailto:[EMAIL PROTECTED]]
Sent: Monday, September 23, 2002 6:47 AM
To: [EMAIL PROTECTED]
Subject: Question: Clean shutdown of application scope
The main servlet in Struts is ActionServlet. Extend it and override
destroy();
Mark
-Original Message-
From: Tal Rotbart [mailto:[EMAIL PROTECTED]]
Sent: Monday, September 23, 2002 6:47 AM
I'm a new Struts user, and I've been trying to figure out how to make sure
that my model's clean
Users Mailing List'
Subject: RE: Question: Clean shutdown of application scope objects
The main servlet in Struts is ActionServlet. Extend it and override
destroy();
Mark
-Original Message-
From: Tal Rotbart [mailto:[EMAIL PROTECTED]]
Sent: Monday, September 23, 2002 6:47 AM
I'm a new
wrote:
Date: Thu, 13 Sep 2001 16:38:12 -0500
From: MacKellar, Kimberly
[EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: '[EMAIL PROTECTED]'
[EMAIL PROTECTED]
Subject: RE: Application scope objects
I created a servlet that is loaded at server
initialization by including
PROTECTED]
Subject: RE: Application scope objects
I created a servlet that is loaded at server initialization by including the
following in web.xml
servlet
servlet-nameInitialization/servlet-name
servlet-classcom.tfp.fraudban.InitializationServlet/servlet-class
load-on-startup1
Hi All -
In my application, I would like to cache some of the
objects at the application scope in order to reduce
database access. What is the most recommended way of
achieving this in Struts ? Should I make them members
of OurActionServlet, which is derived from
ActionServlet ?
Please suggest.
:[EMAIL PROTECTED]]
Sent: Thursday, September 13, 2001 4:24 PM
To: [EMAIL PROTECTED]
Subject: Application scope objects
Hi All -
In my application, I would like to cache some of the
objects at the application scope in order to reduce
database access. What is the most recommended way of
achieving
8 matches
Mail list logo