Is there any way to specify a variable as a parameter name in JSTL, i.e:
<c:set var='myVar' value='dynamicParameterName' />
<c:out value='${param.(dynamicParameterName)}' />
${param.myVar}
or ${param[myVar]}
are equivalent.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With