Re: Struts2 WebApp context

2008-02-14 Thread Rushikesh Thakkar
Yea, I will do that. But its still unsolved, so if anybody has got some solution, please feel free to guide me. Thank you.. On Thu, Feb 14, 2008 at 4:18 PM, Ian Roughley <[EMAIL PROTECTED]> wrote: > This question will probably result in an answer / better solution if > asked on the Spring forums.

Re: Struts2 WebApp context

2008-02-14 Thread Ian Roughley
This question will probably result in an answer / better solution if asked on the Spring forums. /Ian -- Ian Roughley From Down & Around, Inc. Consulting * Training / Mentoring * Agile Process * Open Source web: http://www.fdar.com - email: [EMAIL PROTECTED] Rushikesh Thakkar wrote: Thank

Re: Struts2 WebApp context

2008-02-14 Thread Rushikesh Thakkar
Thanks Ian and Laurie for looking into this. Excuse me Laurie, for missing out an imp. info. that "web.xml also contains spring ContextLoaderListener declaration". I now feel that it is more a spring / tomcat issue and not a really a struts2 issue. I observed the tomcat's console logs while it was

Re: Struts2 WebApp context

2008-02-13 Thread Laurie Harper
> (3) web.xml doesn't contain anything but struts2 filter declaration. If that's the case, how is Spring getting initialized? Usually you would configure one of Spring's context listeners, which will take care of loading the Spring context on startup and destroying it when the application is s

Re: Struts2 WebApp context

2008-02-13 Thread Ian Roughley
Implement the ServletContextListener and configure it in web.xml - this has the initialize and destroy methods you are looking for, and they are called when the container loads and destroys your application. /Ian -- Ian Roughley From Down & Around, Inc. Consulting * Training / Mentoring * Ag

Struts2 WebApp context

2008-02-13 Thread Rushikesh Thakkar
I want to release a database connection while reloading the context (using Tomcat Manager web app) of a Struts2 Web Application. I am also using Spring and hibernate. (Spring's HibernateTemplate, Spring SessionFactory and Apache Commons-dbcp with HSql standalone-database) As I am using HSql 'stand