ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.

advertisement

AddThis Social Bookmark Button
Article:
  JSP 2.0: The New Deal, Part 1
Subject:   Correction?
Date:   2003-11-18 07:20:20
From:   anonymous2
You say:
"EL expressions can be used to assign values to any standard or custom JSP action attributes marked as accepting a dynamic value (or request-time attribute value, as it's formally called):


<c:out value="${order.amount + 5}"/>"


But is there any assignment going on here, or just output? Shouldn't it be:


<c:set var="amtPlus5" value="${order.amount + 5}"/>


1 to 1 of 1
  1. Correction?
    2003-11-20 09:53:52  Hans Bergsten | O'Reilly Author [View]

    • Correction?
      2003-11-21 06:16:10  anonymous2 [View]

1 to 1 of 1