JSP include with parameters usage
How should I access the param1
value from the included jsp (navMenu.jsp
)?
<jsp:include page="navMenu.jsp" >
<jsp:param name="param1" value="menu" />
</jsp:i开发者_运维知识库nclude>
${param.param1}
(preferable) or request.getParameter("param1")
精彩评论