Simply create a javabean property 'myProperty' in your plugin class :

private String myProperty;

public void setMyProperty(String str) ...

public String getMyProperty() ...


Nico.


> 
> I'm using struts 1.1 and need to set some parameters in my plugin
> definition.
> 
> here is my plugin definition:
> 
> <plug-in className="com.bpam.mediatheque.plugins.MediathequePlugin">
> <set-property
> property="myProperty"
> value"/WEB-INF/myFile.xml"/>
> </plug-in>
> 
> I would like to read the property in my plugin init method.
> can someone tell me how to do this.
> 
> thanks in advance.
> _______________________________________________
> NATEXIS ASSET MANAGEMENT
> Meissa SAKHO 
> 01 58 19 45 71. . . . . . . . . . . . (84571)
> [EMAIL PROTECTED]
> 
> L'integrite de ce message n'etant pas assuree sur internet, Natexis
> Banques Populaires ne peut etre tenu responsable de
> son contenu. Toute utilisation ou diffusion non autorisee est
> interdite. Si vous n'etes pas destinataire de ce message, merci de le
> detruire et d'avertir l'expediteur.
> 
> The integrity of this message cannot be guaranteed
> on the Internet. Natexis Banques Populaires can not therefore be
> considered responsible for the contents.Any unauthorized use or dissemination is 
> prohibited.
> If you are not the intended recipient of this message, then please delete it and 
> notify the sender.


Our name has changed.  Please update your address book to the following format: 
"[EMAIL PROTECTED]".

This message contains information that may be privileged or confidential and is the 
property of the Capgemini Group. It is intended only for the person to whom it is 
addressed. If you are not the intended recipient,  you are not authorized to read, 
print, retain, copy, disseminate,  distribute, or use this message or any part 
thereof. If you receive this  message in error, please notify the sender immediately 
and delete all  copies of this message.


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

Reply via email to