Call your JSP that creates or executes the JavaScript script that puts a value into the JS Variable, something like this:
"page.jsp"
Code:
<script> ... var toJSPVar = doSomething(parameters); document.location.href="pageAux.jsp?jspVAR=" + toJSPVar; ... </script>
Leave a comment: