RE: [struts2]how to configure the web app - solved!

2008-05-19 Thread kindlerm
First of all, thanks to all who answered to my previous posting! I did not want one of this big "use another framework [Spring/AppFuse/Hibernate/...] in addition to Struts2" things. While this is surely the right way to go for a lot of heavy weight systems there are also smaller lightweight app

Re: [struts2]how to configure the web app

2008-05-16 Thread dusty
Struts2 doesn't stop you from implementing a ServletContextListener.In fact in the Appfuse Struts2 application there is a StartupListener (extends ServletContextListener) that does what you talk about. It just so happens that Appfuse also uses Spring to configure its services including its d

Re: Re: [struts2]how to configure the web app

2008-05-16 Thread Jim Kiley
--- Original Nachricht > Von: Jim Kiley <[EMAIL PROTECTED]> > An: Struts Users Mailing List > Datum: 16.05.2008 14:30 > Betreff: Re: [struts2]how to configure the web app > > > Hi Martin, > > > > This seems like an ideal situation for using Sprin

Re: [struts2]how to configure the web app

2008-05-16 Thread Giovanni Azua
hi Martin, I here, do not use Spring nor hibernate and indeed need defining a ServletContextListener implementation that I configure in web.xml that initializes database connections etc. In an ideal world: - You are starting a new web application project from scratch - You are open to see bes

Aw: Re: [struts2]how to configure the web app

2008-05-16 Thread kindlerm
gt; An: Struts Users Mailing List Datum: 16.05.2008 14:30 Betreff: Re: [struts2]how to configure the web app > Hi Martin, > > This seems like an ideal situation for using Spring dependency injection. > Are you familiar with Spring at all? > > jk > > On Fri, May 16, 2008

Re: [struts2]how to configure the web app

2008-05-16 Thread Jim Kiley
Hi Martin, This seems like an ideal situation for using Spring dependency injection. Are you familiar with Spring at all? jk On Fri, May 16, 2008 at 8:04 AM, <[EMAIL PROTECTED]> wrote: > Hi, > > I am new to Struts2 and stumbling immediately. > > I want to have an initialization routine in my we