You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Andriy Kharchuk <an...@gmail.com> on 2008/03/01 12:48:54 UTC

Struts 2: How to initialize Action's parameters in struts.xml?

Hi guys,

Is there a way to initialize property of an Action in configuration file? I
want to use some parameter to define runtime behavior of the Action.

Thanks,
Andriy

Re: Struts 2: How to initialize Action's parameters in struts.xml?

Posted by st...@gmail.com.
 *    <action name="dashboard"
            class="com.strutsschool.action.tree.DynamicTreeSelectAction">
            <param name="odometer">MILES</param>
             ...
        </action>


*On Sat, Mar 1, 2008 at 5:48 AM, Andriy Kharchuk <an...@gmail.com>
wrote:

> Hi guys,
>
> Is there a way to initialize property of an Action in configuration file?
> I
> want to use some parameter to define runtime behavior of the Action.
>
> Thanks,
> Andriy
>



-- 
Scott
stanlick@gmail.com