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

What are EAR, JAR and WAR files in J2EE?

ATG Issue - ConcurrentUpdateException - on BCC Deployment

How the competition helps to reduce the price of TEA?