<%= request.getParameter("param1") %> has a value here
<jsp:include page="included_page.jsp">
<jsp:param name="param1" value="aDifferentValue" />
</jsp:include>
<%= request.getParameter("param1") %> still has its old value here
I have to say
<%= properties.getProperty("param1") %> has a value here
<% properties.setProperty("param1","aDifferentValue"); %>
<jsp:include page="included_page.jsp" />
<%= properties.getProperty("param1") %> is now stuck with the new
value
Of course, I can always stick the original values somewhere and then
restore them after the include, but I'm hoping there's some option
that's a bit less ugly.
Thanks
Adam