Hi,
First of all you need to create a class which implements
org.apache.struts.action.PlugIn.
Then you need to override method init(ActionServlet servlet, ModuleConfig
modConfig)  and do your own initializations.
Finally you have to configure this class under struts-config.xml using
<plugin> tag as
   <plug-in className="your plugin class name" />


----- Original Message ----- 
From: "Juan Espinosa" <[EMAIL PROTECTED]>
To: <user@struts.apache.org>
Sent: Tuesday, October 17, 2006 6:07 PM
Subject: Plugin


> Hi all,
>
> Where did it go plugin in struts 2, How i implement a plugin in struts 2.
In
> need to initialize some stuff when the application loads.
>
>     <plug-in className="uy.com.MyClass"> </plug-in>
>
>
> Regards.
>
>
> Juan
>



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to