All you have to do is create a class which implements
org.apache.struts.action.PlugIn interface - it has two methods (init and
destroy)


http://struts.apache.org/userGuide/building_controller.html#plugin_classes

then configure struts to use it in the struts-config.xml:

  http://struts.apache.org/userGuide/configuration.html#plugin_config

Use <set-property> to configure any of you custom PlugIn's properties.

Niall


----- Original Message ----- 
From: "Ruben Cepeda" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, September 13, 2004 3:20 PM
Subject: Creating a Struts Plugin,


> Hello everyone,
>
> I am interested in writing a Plugin to load my set up my database
connection
> pool.  Just like the ArtimusServlet does in the Artimus project.  In all
> honesty exackly like the ArtimusServlet, but am unsure as to what a is
> necessary to create a Struts Plugin.  For example, is it require that it
> have an "init" method or to extend a class.
>
> Thank you to any one that can help in advance.
>
> *************************************
> Ruben Cepeda
> [EMAIL PROTECTED]
> *************************************
>
> _________________________________________________________________
> Express yourself instantly with MSN Messenger! Download today - it's FREE!
> http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>



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

Reply via email to