dsp:valueof can specify a default value to display by embedding it between the open and close tags. This value displays only if the component property or EL variable is empty, or undefined/null.

If no default value is required, you can use this simplified syntax:

<dsp:valueof dynamic-value-spec />

For example, you can access properties of the Student_01 component as follows:

Name: <dsp:valueof bean="Student_01.name"/><p>
Age: <dsp:valueof bean="Student_01.age"/><p>

Copyright © 1997, 2014 Oracle and/or its affiliates. All rights reserved. Legal Notices