DSP Display value methods - ATG


$class=<student class path>
name="Name of the student"


Method #1

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

Method #2

<dsp:getvalueof value="/samples/Student_01" var="student"> </dsp:getvalueof>
Name: <dsp:valueof value="${student.name}">No Name</dsp:valueof>

Method #3

<dsp:importbean bean="/samples/Student_01" var="student"/>
Name: <c:out value="${student.name}"/>


The output for the methods are same:

Name: Name of the student

Popular posts from this blog

[Solved] Hive installation error: java.net.URISyntaxException: Relative path in absolute URI

Install Android SDK in centOs

ATG Issue - ConcurrentUpdateException - on BCC Deployment