开发者

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")

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜