Re: Struts2 and PlugIn interface

2010-02-27 Thread Maciej Radochonski
Thanks Pawel, I'll give it a try. 2010/2/28 Paweł Wielgus > 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 > > jus

Re: Struts2 and PlugIn interface

2010-02-27 Thread Paweł Wielgus
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.

Re: Struts2 and PlugIn interface

2010-02-25 Thread Maciej Radochonski
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 wrote:

Re: Struts2 and PlugIn interface

2010-02-18 Thread Maciej Radochonski
Thanks for the answer. Maciej On Fri, Feb 19, 2010 at 2:53 PM, Lukasz Lenart wrote: > 2010/2/19 Maciej Radochonski : > > 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 loade

Re: Struts2 and PlugIn interface

2010-02-18 Thread Lukasz Lenart
2010/2/19 Maciej Radochonski : > 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 availa