struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Maciej Radochonski <mradochon...@gmail.com>
Subject Re: Struts2 and PlugIn interface
Date Sun, 28 Feb 2010 05:03:16 GMT
Thanks Pawel,

I'll give it a try.

2010/2/28 Paweł Wielgus <poulwiel@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 <mradochonski@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
> > <mradochonski@gmail.com>wrote:
> >
> >> Thanks for the answer.
> >>
> >> Maciej
> >>
> >>
> >> On Fri, Feb 19, 2010 at 2:53 PM, Lukasz Lenart <
> >> lukasz.lenart@googlemail.com> wrote:
> >>
> >>> 2010/2/19 Maciej Radochonski <mradochonski@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-unsubscribe@struts.apache.org
> >>> For additional commands, e-mail: user-help@struts.apache.org
> >>>
> >>>
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message