Question: Clean shutdown of application scope objects

2002-09-23 Thread Tal Rotbart
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

RE: Question: Clean shutdown of application scope objects

2002-09-23 Thread Robert Taylor
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

RE: Question: Clean shutdown of application scope objects

2002-09-23 Thread Galbreath, Mark
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

RE: Question: Clean shutdown of application scope objects

2002-09-23 Thread Jason Rosen
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

RE: Application scope objects

2001-09-25 Thread Debasish Ghosh
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

RE: Application scope objects

2001-09-20 Thread Craig R. McClanahan
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

Application scope objects

2001-09-13 Thread Debasish Ghosh
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.

RE: Application scope objects

2001-09-13 Thread MacKellar, Kimberly
:[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