You will not be able to do this in a ServletContextListener, because that gets executed before the Struts servlet has initialized the data structures representing the configuration information. However, if you write to the Struts PlugIn API, the init() method of this class is called after the configuration file has been loaded, but before the configuration is frozen -- so you can add your own configuration objects at that time.
Craig On Thu, 25 Nov 2004 00:04:00 -0800, Tony Li <[EMAIL PROTECTED]> wrote: > Hi all - > > I haven't been able to locate much information about dynamically adding an > ActionMapping. I would like to do this at application startup through my > StartupListener (courtesy of Matt Raible's AppFuse). I'm really only > interested in adding a few simple ForwardActions. > > Any ideas? > > Thanks, > > Tony > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]