passing value from JSP to scriptlet
843840Sep 2 2009 — edited Sep 2 2009Hi
I am trying to find a way to pass a value from jsp to the scriptlets, i.e.
<c:set var="testValue" value="123" />
<%
System.out.println(testValue);
%>
the above code just demonstrates what I was trying to achieve, by passing the value from the jsp into the scriptlet.
Can someone tell me if there's an easy way to do this?
Thank you.