I’d like to set the “name” param to a jsp:param in a “dynamic-way”, that is :
<jsp:param value="<%=paramValue%>" name="<%=pageURL%>"/>
instead of :
<jsp:param value="<%=paramValue%>" name="page"/>
Or a similar way to do it .. I just don’t want to decide the url at runtime.
Is it possible ?
Thanks for the anwsers 🙂
Cheers
That’s disallowed as per the syntax reference.
Just add another param.
Unrelated to the problem, scriptlets are not the best practice. Consider learning EL, those
${}things, it’s already over a decade the recommend way of accessing backend data in JSPs.