The tags dsp:setvalue
and dsp:a
can use EL to set properties. For example:
<dsp:importbean bean="/samples/Student_01" var="student"/> <dsp:importbean bean="/samples/Teacher1"/> <dsp:setvalue bean="Teacher1.oldestStudent" value="${student.name"}/>
Note: EL can only be used to express the source value; the target expression must directly specify the component property to set.