In the main page:
<dsp:include page="/muthu/muthu.jsp">
<dsp:param name="product" value="${product}"/>
</dsp:include>
Here product details will be send through param product.
And in muthu.jsp
<dsp:getvalueof var="product" param="product" />
<c:set var="productid" value="${product.id }"/>
<c:set var="productName" value="${product.displayName}"/> <br>
You are selected: ${productid} - Name: ${productName}
<c:forEach var="category" items="${product.parentCategories}">
<br> -> ${category.id}
</c:forEach>
<dsp:include page="/muthu/muthu.jsp">
<dsp:param name="product" value="${product}"/>
</dsp:include>
Here product details will be send through param product.
And in muthu.jsp
<dsp:getvalueof var="product" param="product" />
<c:set var="productid" value="${product.id }"/>
<c:set var="productName" value="${product.displayName}"/> <br>
You are selected: ${productid} - Name: ${productName}
<c:forEach var="category" items="${product.parentCategories}">
<br> -> ${category.id}
</c:forEach>