cm132005 wrote:
That's how I have it configured but somehow the "method" doesn't seem to take
a variable value....

<action name="*Example"  method="{1}"
class="com.abc.xyz.struts.ExampleDispatchAction">

these throw exception:
<s:submit value=" Save as A " method='<s:property value="methodName"/>' /> <s:submit value=" Save as A " method="<%=methodName%>"/> <s:submit value=" Save as A " method="<s:property value="methodName"/>"/>
works with hard-coded values:
<s:submit value=" Save as A " method="aSave"  />
<s:submit value=" Save as B " method="bSave"  />
<s:submit value=" Save as C " method="cSave"  />

May be I am missing something...

Yes; basic JSP. As in the previous message you can't arbitrarily nest tags--just like you can't nest elements like that in XML. See my answer to your other question.

Dave


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to