Component1 - uses model1 - component1.jsp
Component2 - uses model2 - component2.jsp
Component1 --> Component link --> Component2
<jsp:include page="component2.jsp"></jsp:include>
I want to reuse the JSP code from component2.jsp
in my component1.jsp
.
Is there a way to get use the component2.jsp
which uses a different model?
I know that if both of them have same models it will work.
model1
for example, which shows the Component Link field?