In a jsp page, I'am trying to call a method of my class passing a parameter
and the method will return a string value.

<s:property value="#myClass.myMethod(myParameter)" />

or

<s:action name="myClass!myMethod" executeResult="true">
    <s:param name="myParam" value="%{myParam}"/>
</s:action>

but doesn't work.
Could someone please help me! Thanks.

-- 
View this message in context: 
http://www.nabble.com/How-to-call-a-method-passing-a-parameter-inside-jsp-with-struts-2-tf4141022.html#a11779219
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to