Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

In the above XML the value of the param name="expression" node, personBean.carModels.length > 0, will be evaluated by the framework as a Java statement. The part personBean.carModels tells the framework to call the getCarModels method of class Person. That method returns an Array. Since class Array has a length attribute, the framework will call get the value of the length attribute of the Array returned by the getCarModels method.

...