Re: How to modify Struts2 start up process.

2010-07-14 Thread satyanarayana katta
See if ur web.XML has the spring configuration configured twice. We faced the same issue before Sent from my iPhone On Jul 13, 2010, at 11:42 AM, hisameer cool_sameer_fo...@yahoo.com wrote: - To unsubscribe, e-mail:

Re: How to modify Struts2 start up process.

2010-07-13 Thread Chris Pratt
how to do this. If possible write some sample code. Thanks, Sameer -- View this message in context: http://old.nabble.com/How-to-modify-Struts2-start-up-process.-tp28995322p28995322.html Sent from the Struts - User mailing list archive at Nabble.com

Re: How to modify Struts2 start up process.

2010-07-13 Thread hisameer
from the database. The class should execute only one on the start up. Please give me some suggestions how to do this. If possible write some sample code. Thanks, Sameer -- View this message in context: http://old.nabble.com/How-to-modify-Struts2-start-up-process

Re: How to modify Struts2 start up process.

2010-07-13 Thread Chris Pratt
to do this. If possible write some sample code. Thanks, Sameer -- View this message in context: http://old.nabble.com/How-to-modify-Struts2-start-up-process.-tp28995322p28995322.html Sent from the Struts - User mailing list archive at Nabble.com

Re: How to modify Struts2 start up process.

2010-07-13 Thread hisameer
://old.nabble.com/How-to-modify-Struts2-start-up-process.-tp28995322p28995322.html Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional

Re: How to modify Struts2 start up process.

2010-07-13 Thread Chris Pratt
. The class should execute only one on the start up. Please give me some suggestions how to do this. If possible write some sample code. Thanks, Sameer -- View this message in context: http://old.nabble.com/How-to-modify-Struts2-start-up-process

Re: How to modify Struts2 start up process.

2010-06-26 Thread satyanarayana katta
how to do this. If possible write some sample code. Thanks, Sameer -- View this message in context: http://old.nabble.com/How-to-modify-Struts2-start-up-process.-tp28995322p28995322.html Sent from the Struts - User mailing list archive at Nabble.com

How to modify Struts2 start up process.

2010-06-25 Thread hisameer
from the database. The class should execute only one on the start up. Please give me some suggestions how to do this. If possible write some sample code. Thanks, Sameer -- View this message in context: http://old.nabble.com/How-to-modify-Struts2-start-up-process.-tp28995322p28995322.html Sent

Re: How to modify Struts2 start up process.

2010-06-25 Thread Dale Newfield
On 6/25/10 2:36 PM, hisameer wrote: I have to implement a logic so that when the server starts I can execute some database scripts using my DAO service layer. implement a ServletContextListener that includes the method contextInitialized(ServletContextEvent event). You should be able to get

Re: How to modify Struts2 start up process.

2010-06-25 Thread Dale Newfield
Oh, and I forgot to mention, add a listener/ segment to your web.xml so the application server knows to instantiate and call it. -Dale - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands,

Re: How to modify Struts2 start up process.

2010-06-25 Thread Chris Pratt
That should work great, another option is just to define a singleton bean in your Spring configuration. It will get loaded with the container and initialized automatically. Either method should do what you want. (*Chris*) On Fri, Jun 25, 2010 at 12:24 PM, Dale Newfield d...@newfield.org