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) Summary: how to execute an initialization method before the first (web-)user interaction (e.g. to create singletons at the very beginning of struts operation) Product: Struts Version: 1.0 Final Platform: Other URL: http://jakarta.apache.org/struts/userGuide/configuration .html#dd_config_servlet OS/Version: Other Status: NEW Severity: Enhancement Priority: Other Component: Documentation AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] Apologies if this is a newbie documentation enhancement request, but the sources I found so far are confusing: - http://marc.theaimsgroup.com/?l=struts-user&m=104982070920585&w=2 seems to extend the ActionServlet class (and unfortunately doesn't say how they ensure that this gets executed BEFORE the first user gets served) - http://marc.theaimsgroup.com/?l=struts-user&m=105674609610066&w=2 creates a factory (in configuration.html, I am advised to put this into a "message-resources" element, but I don't really see why loading some initial parameters for my application is related to "messages") - ... Anyway, it would be great if the documentation would tell how to best initialize some global singleton values for my application (be it out of some property file, a database, or from somewhere else). --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]