Hi,

I don' t know who to use the s:if tag

I want to call a action with a parameter:

i.e.

http:/appsever:8080/myapp/showaction?all=true

in my jsp I want to use the s:if to display different strings

i.e.

<s:if test="%{all == 'true'}" >
<tr>
<td>all is set </td>
</tr>
</s:if>
<s:else>
      <tr>
            <td>all is not set</td>
      </tr>
</s:else>

But how to write the test condition?

By the way. What does the % in a condition like %{test}
And what is # in a condition like %{#test}?

Reply via email to