Hi, I'm looking into this plug-in idea, and although it forces you to define an "init" method, it is not a servlet so how do you call it's init method upon application startup?
- Dave Nils-Helge Garli wrote: > > Maybe you can achieve what you want with a PlugIn: > http://struts.apache.org/1.3.10/userGuide/building_controller.html#plugin_classes > > Nils-H > > On Wed, Apr 1, 2009 at 4:49 PM, laredotornado <laredotorn...@gmail.com> > wrote: >> >> Hi, >> >> I'm using Struts 1.3 on WebLogic 9.2.2. I have this defined in my >> struts-config.xml file: >> >> <action path="/refresh2" >> type="com.myco.regui.struts.refresh.RefreshAction" >> scope="request" >> validate="false"> >> </action> >> >> This servlet takes no parameters. How do I get this to run upon >> application >> startup? >> >> Thanks, - Dave >> -- >> View this message in context: >> http://www.nabble.com/How-do-I-execute-this-action-servlet-on-startup--tp22828237p22828237.html >> Sent from the Struts - User mailing list archive at Nabble.com. >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org >> For additional commands, e-mail: user-h...@struts.apache.org >> >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > > > -- View this message in context: http://www.nabble.com/How-do-I-execute-this-action-servlet-on-startup--tp22828237p22856368.html Sent from the Struts - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org