You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Chris Pratt <th...@gmail.com> on 2007/07/07 08:49:27 UTC
Params on Actions in Struts.xml
After looking through the DTD for struts.xml (
http://cwiki.apache.org/WW/strutsxml-examples.html) it says that the
following is legal in struts.xml:
<action name="home">
<param name="paramName">paramValue</param>
<result>home</result>
</action>
I've been attempting to figure out how to get the value "paramValue" from
the action, but it seems to be ignored.
Is this supported? Is it just for future use? If not, how can I get that
value?
Thanks.
(*Chris*)
Re: Params on Actions in Struts.xml
Posted by Chris Pratt <th...@gmail.com>.
Awesome, thanks for the pointer.
(*Chris*)
On 7/7/07, Nuwan Chandrasoma <my...@gmail.com> wrote:
>
> Hi,
>
>
> http://cwiki.apache.org/WW/how-do-we-access-static-parameters-from-an-action.html
>
> Thanks,
>
> Nuwan
>
> ----- Original Message -----
> From: "Chris Pratt" <th...@gmail.com>
> To: "Struts Users Mailing List" <us...@struts.apache.org>
> Sent: Saturday, July 07, 2007 6:49 AM
> Subject: Params on Actions in Struts.xml
>
>
> > After looking through the DTD for struts.xml (
> > http://cwiki.apache.org/WW/strutsxml-examples.html) it says that the
> > following is legal in struts.xml:
> >
> > <action name="home">
> > <param name="paramName">paramValue</param>
> > <result>home</result>
> > </action>
> >
> >
> > I've been attempting to figure out how to get the value "paramValue"
> from
> > the action, but it seems to be ignored.
> >
> > Is this supported? Is it just for future use? If not, how can I get
> that
> > value?
> >
> > Thanks.
> > (*Chris*)
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>
Re: Params on Actions in Struts.xml
Posted by Nuwan Chandrasoma <my...@gmail.com>.
Hi,
http://cwiki.apache.org/WW/how-do-we-access-static-parameters-from-an-action.html
Thanks,
Nuwan
----- Original Message -----
From: "Chris Pratt" <th...@gmail.com>
To: "Struts Users Mailing List" <us...@struts.apache.org>
Sent: Saturday, July 07, 2007 6:49 AM
Subject: Params on Actions in Struts.xml
> After looking through the DTD for struts.xml (
> http://cwiki.apache.org/WW/strutsxml-examples.html) it says that the
> following is legal in struts.xml:
>
> <action name="home">
> <param name="paramName">paramValue</param>
> <result>home</result>
> </action>
>
>
> I've been attempting to figure out how to get the value "paramValue" from
> the action, but it seems to be ignored.
>
> Is this supported? Is it just for future use? If not, how can I get that
> value?
>
> Thanks.
> (*Chris*)
>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org