You can specify to display a component property with the dsp:valueof tag. To insert the <dsp:valueof> tag:

For example:

<%@ taglib uri= prefix="dsp" %>

<dsp:importbean bean="/samples/Student_01"/>


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



Note: Because the component /samples/Student_01 is imported, the inserted dsp:valueof tag includes only the component and property names and excludes the pathname.

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