I have a index.jsp that has the code
Code:
<jsp:include page="<%=content%>" />
Where the variable content is whatever the url of the page is passed into the JSP.
However, some of the JSP file that will be included in the index.jsp contains dynamic code including some java and tag expressions.
File 1.jsp is passed to index.jsp and is included but the codes inside File 1.jsp doesn't get compiled.
Is there a work around to ensure that the codes within a jsp page that is being included to compile and yet, keep the dynamic url for the include page?