0

I have a scenario where I need to call a method of an Action class. Below is the code.

<s:if test="#session['EXECUTOR'] != null">  
<tr>
    <td width="80%">
    Test: 
    <!-- <s:property value="#moveETHAction_fetchExecutorData(#session['EXECUTOR'])" /> -->
    <s:push value="#moveETHAction_fetchExecutorData(#session['EXECUTOR'])">
         <s:property value="top">
    </s:push>
    </td>
</tr>   
</s:if>

However it's not working, throwing some Jasper Exception -" According to TLD, tag s:property must be empty, but is not"

How do i call the method and return a String data?

Roman C
  • 49,761
  • 33
  • 66
  • 176
RaceBase
  • 18,428
  • 47
  • 141
  • 202

1 Answers1

2

shouldn't it be:

<s:property value="top"/>

in stead of

<s:property value="top">
Tom
  • 4,096
  • 2
  • 24
  • 38