I'm trying to set data variable(data-url) for a button, but when I check it out in the inspector, the data-url of said button is "0".
Can anyone help me figure out what I've done wrong? This is the code I'm referring to
<c:url var="ajax-url" value="/product/internal" />
<button data-url="${ajax-url}">
blabla
</button>
Thanks in advance