Aziz Shaikh Aziz Shaikh - 8 months ago 57
jQuery Question

call an JSP Page inside my JSP Page with Parameter

I Have a main JSP page called Main.jsp

where from sidebar need to call a inner.jsp with a Parameters


<jsp:include page="inner.jsp" flush="true" />

but need to set parameter like

while clicking the link from sidebar menu as
<a onclick=''>test1</a>


You can use the <jsp:param> tag:

<jsp:include page="${page}">
<jsp:param value="${canale}" name="channel"/>

in the included page you may:

<c:if test='${not empty}' >
<input type='hidden' name='canale'  value="${}">