Hi,

below code is that you have used your own ActionMapping implementation, but if you have used struts 1.3 you can use the method getProperty() in ActionMapping class. for eg:

mappnig.getProperty("myProperty");

Thanks,

Nuwan.


----- Original Message ----- From: "Nuwan Chandrasoma" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <user@struts.apache.org>
Sent: Friday, January 19, 2007 7:33 AM
Subject: Re: How to get the property value in action


Hi,

Inside you action class execute method

mapping.getMyProperty();

Thanks,

Nuwan.


----- Original Message ----- From: "Zhang, Larry (L.)" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <user@struts.apache.org>
Sent: Thursday, January 18, 2007 10:59 PM
Subject: How to get the property value in action


I have the following action mapping, how to get the property value of
myProperty in action?

Thanks.

<action path="/maintainMyProcess" name="maintainForm"
type="com.....MaintainMyProcessAction" parameter="method">
           <set-property property="myProperty"
value="myPropertyValue"/>
</action>

---------------------------------------------------------------------
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