DSP Import bean - ATG


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


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

Output is:

My name is Name of the student


We can call the name parameter from properties file "name" parameter. To import all the bean values, use <dsp:importbean> tag, then store the bean to the local variable "student". Now we can access all the values through the local variable "student". Example: ${student.name}

Popular posts from this blog

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

Install Android SDK in centOs

Installing arules package (Association Rules) in R