tags:

views:

18

answers:

1

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:include>
+1  A: 

${param.param1} (preferable) or request.getParameter("param1")

Bozho
shouldn't it be ${param.param1} instead of ${param.menu}?
DanC
ah, yes, sorry - you are correct.
Bozho
Thank you! (3 more to go)
DanC