Is it possible to use jstl inside javascript?
I'm tying to set <c:set var=abc value=yes/>
and then later access this value in html and execute some code. My problem is the c:set is executing always even if the javascript condition is false.
<script type=text/javascript>
var v1 = false;
<c:set varabc value=yes/>
if(v1){
<c:set varabc value=no/>
}
</script>
In the above code, even if v1 is false 'no' is setting to abc.