How to include a page (JSP) in another page in ATG

In the main page:

<dsp:include page="/muthu/muthu.jsp">
    <dsp:param name="product" value="${product}"/>

Here product details will be send through param product.
And in muthu.jsp

<dsp:getvalueof var="product" param="product" />
<c:set var="productid" value="${ }"/>
<c:set var="productName" value="${product.displayName}"/> <br>

You are selected: ${productid} - Name: ${productName}
<c:forEach var="category" items="${product.parentCategories}">
<br> -> ${}

Popular posts from this blog

[Solved] Hive installation error: Relative path in absolute URI

Install Android SDK in centOs

Installing arules package (Association Rules) in R