struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Raghuveer V" <>
Subject RE: Struts1 Plugin to Struts2
Date Fri, 01 Oct 2010 13:18:33 GMT
Yes Dave,

I want to implement Struts2 specific.

Application context listener will be called before application and
struts.xml configurations.


I want to do it from struts.xml rather then from web.xml.

How would it be if I create custom interceptor and use init and destroy for

I will not be using this interceptor stack anywhere in my action mappings.

The reason for interceptor stack is, it will be initialized during
application startup from struts.xml



From: Dave Newton [] 
Sent: Friday, October 01, 2010 6:17 PM
To: Struts Users Mailing List;
Subject: Re: Struts1 Plugin to Struts2


An application context listener--that way it's not S2-specific.



On Fri, Oct 1, 2010 at 5:03 AM, Raghuveer V <>

I have scenarios of few activities during application startup and shutdown
in struts1 application which need to be used in struts2 application.


Below struts2 plug-in needs to be used in struts2.

<plug-in className="com.test.util.TestListener">

<set-property property="devlFile" value="/TestConfig/"/>


Any best thoughts of implementing this.



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