Results 1 to 3 of 3

Thread: if statement?

  1. #1
    Join Date
    Oct 2007
    Posts
    6

    Default if statement?

    Hi , I have a question about if statement in spring.

    If I want to have A and (B or C), how can I write that if statement?

    The following didn’t work



    <c:if test="${A} && (${B} || ${C})">



    I googled it but couldn’t find it.

    Thanks!

  2. #2
    Join Date
    Aug 2008
    Location
    St Louis, MO
    Posts
    51

    Default

    this should work
    Code:
    <c:if test="${A && (B || C)}">

  3. #3
    Join Date
    May 2005
    Location
    California, US
    Posts
    735

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •