Can anyone tell me how I can do the following in just one j:when tag? 

    <j:choose>
      <j:when test="${name.equalsIgnoreCase('foo')}">
        do something
      </j:when>
      <j:when test="${name.equalsIgnoreCase('bar')
          do the same thing as for 'foo'
      </j:when>
      <j:otherwise>
        do something different
      </j:otherwise>
    </j:choose>


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

Reply via email to