struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <>
Subject [Struts Wiki] Update of "StrutsPlugins" by NiallPemberton
Date Sat, 08 Oct 2005 21:26:09 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Struts Wiki" for change notification.

The following page has been changed by NiallPemberton:

The comment on the change is:
Add a page on Struts PlugIns

New page:
{i} Questions on [ How To
Implement Application Startup/Shutdown Behaviour] have come up a number of times on the user
list - hence this page.

== Struts PlugIn ==
The Struts !PlugIn provides implementation points for the application ''startup'' and ''shutdown''
phases. Struts was developed in a Servlet 2.2 environment which provided no such equivalent

 * {1} [ User Guide:
PlugIn Classes]
 * {2} [ User Guide: PlugIn
 * {3} [ PlugIn JavaDoc]

== PlugIn or ServletContextListener? ==
In a Servlet 2.2 environment then the only choice is a !PlugIn (or using a ''Startup'' Servlet).

The Servlet 2.3 specification introduced the [
ServletContextListener] which provides the same facilities. Rather than repeat other peoples
words, below are some points from a recent thread:

 * {1} [ ServletContextListener
is portable]
 * {2} [ Servlet Unloads]
(and also [

If you want to know how to use a !ServletContextListener then [
See this post].

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message