You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by "WILLIAMS,RAND (HP-USA,ex1)" <ra...@hp.com> on 2003/03/06 16:34:53 UTC
[Q]
Hi All,
<action...
type="myAction"
name="myBean" >
<set-property property="x" value="y" />
</action>
does struts try to 'set' the myBean or myAction?
-Rand
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org
RE: [Q]
Posted by James Mitchell <jm...@apache.org>.
If you create a class that extends
org.apache.struts.action.ActionMapping, you can tell Struts to use your
class by specifying className="yourpackage.yourclass" in your action.
--
James Mitchell
Web Developer/Struts Evangelist
http://jakarta.apache.org/struts/
"People demand freedom of speech to make up for the freedom of thought
which they avoid."
- Soren Aabye Kierkegaard (1813-1855)
> -----Original Message-----
> From: WILLIAMS,RAND (HP-USA,ex1) [mailto:rand.williams@hp.com]
> Sent: Thursday, March 06, 2003 10:35 AM
> To: 'Struts Users Mailing List'
> Subject: [Q] <action><set-property>
>
>
> Hi All,
>
> <action...
> type="myAction"
> name="myBean" >
> <set-property property="x" value="y" />
> </action>
>
> does struts try to 'set' the myBean or myAction?
>
> -Rand
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org