Displaying -ve Number using JSTL


Web tier: servlets, JSP, Web frameworks: Displaying -ve Number using JSTL

  1. Displaying -ve Number using JSTL (2 messages)

    Hi All,

    We are facing problem while displaying -ve number using JSTL.

    <c:out value="{result.negativenumber}">

    Some how this does not work, any idea, any suggestion


    Threaded Messages (2)

  2. Watch the '$'[ Go to top ]

    <c:out value="${result.negativenumber}">

    Watch the $ before!
  3. Watch the '$'[ Go to top ]

    I did that as well, still its not working...

    Object to be displayed is Long and has -ve value.

    <c:out value="${result.negativeNumber}">