Thanks Pawel,

I'll give it a try.

2010/2/28 Paweł Wielgus <poulw...@gmail.com>

> Hi Maciej,
> You can implement ServletContextListener
> and register it in web.xml like this:
>
>        < listener >
>                < listener-class >com.ppp.oko.struts.AppListener< /
> listener-class >
>        < / listener >
> just mind extra spaces i've added to xml tags.
>
> Best greetings,
> Paweł Wielgus.
>
> 2010/2/26 Maciej Radochonski <mradochon...@gmail.com>:
> > Further on the subject. For my persistence layer I use iBatis. With
> Struts1
> > I had been using plugin to load the connection object on start-up. Any
> > suggestion on how can I achieve similar effect with Struts2?
> >
> > Thank you,
> > Maciej Radochonski
> >
> > On Fri, Feb 19, 2010 at 3:01 PM, Maciej Radochonski
> > <mradochon...@gmail.com>wrote:
> >
> >> Thanks for the answer.
> >>
> >> Maciej
> >>
> >>
> >> On Fri, Feb 19, 2010 at 2:53 PM, Lukasz Lenart <
> >> lukasz.len...@googlemail.com> wrote:
> >>
> >>> 2010/2/19 Maciej Radochonski <mradochon...@gmail.com>:
> >>> > Currently I am migration one of my applications from Struts1 onto
> >>> Struts2. I
> >>> > am using several Struts1 PlugIn's (mainly for data source
> configuration)
> >>> > that are loaded on start up of the app. Could someone advise me if
> such
> >>> a
> >>> > functionality, or similar, is available in Struts2?
> >>>
> >>> No, use Spring, Guice or Hibernate - there are plugins to connect such
> >>> frameworks with Struts 2
> >>>
> >>>
> >>> Regards
> >>> --
> >>> Łukasz
> >>> http://www.lenart.org.pl/
> >>> Kapituła Javarsovia 2010
> >>> http://javarsovia.pl
> >>>
> >>> ---------------------------------------------------------------------
> >>> 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
>
>

Reply via email to