DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22706>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22706 how to execute an initialization method before the first (web-)user interaction (e.g. to create singletons at the very beginning of struts operation) ------- Additional Comments From [EMAIL PROTECTED] 2003-09-26 01:30 ------- Using a plug-in type class I believe should fit the bill here. This class is executed upon application start-up. These values that you call or intialize from whereever can be stored in application state for use by the rest of your application. Your plug-in class should extend org.apache.struts.action.PlugIn. Once you finish implementing the PlugIn interface, you would create an entry in your strut-config.xml to reference the PlugIn that you just created. You can find more information about it here: http://jakarta.apache.org/struts/userGuide/configuration.html#plugin_config You also might want to look at the JavaDocs for the PlugIn interface and read up on that as well. Hope this gets you pointed in the right direction --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]