struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave Newton <newton.d...@yahoo.com>
Subject Re: using 'method' in action mapping
Date Fri, 24 Jul 2009 21:39:03 GMT
Bhaarat Sharma wrote:
> If I have a mapping like the following
>         <action name="selectionPage" class="ReportSelection"
> method="passBy">
>             <result>/reports/moneyowed/selectionpage.jsp</result>
>         </action>
> 
> the passBy method is doing nothing but returning SUCCESS
> 
> When the above action mapping is ran and the jsp page consists something
> like <s:property value"%{value}"/> will the value show??

If there's a publicly-accessible "value" property, sure.

> will providing attribute method in the actionmapping cause it to not have
> access to public methods in the actionclass?

No.

Dave

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


Mime
View raw message