T
Trent
Hello,
I am trying to use the <jsp:include> and <jsparam> actions. For
whatever reason, I am having zero luck getting the param to be
recognized in the included file. I have two files: index.jsp and
header.jsp:
+++++ index.jsp +++++
<html>
<body>
<jsp:include page="header.jsp">
<jsparam name="subTitle" value="test 1 2 3"/>
</jsp:include>
This is in index.jsp
</body>
</html>
+++++ header.jsp +++++
Value: ${param.subTitle} <br />
++++++ Output +++++++
Value: ${param.subTitle}
This is in index.jsp
Why is my parameter not getting recognized? This is driving me crazy.
Any help appreciated.
I am trying to use the <jsp:include> and <jsparam> actions. For
whatever reason, I am having zero luck getting the param to be
recognized in the included file. I have two files: index.jsp and
header.jsp:
+++++ index.jsp +++++
<html>
<body>
<jsp:include page="header.jsp">
<jsparam name="subTitle" value="test 1 2 3"/>
</jsp:include>
This is in index.jsp
</body>
</html>
+++++ header.jsp +++++
Value: ${param.subTitle} <br />
++++++ Output +++++++
Value: ${param.subTitle}
This is in index.jsp
Why is my parameter not getting recognized? This is driving me crazy.
Any help appreciated.