Skip to content

Instantly share code, notes, and snippets.

@SammyVimes
Last active August 29, 2015 14:24
Show Gist options
  • Save SammyVimes/0ddddb4aa730d54dbbbd to your computer and use it in GitHub Desktop.
Save SammyVimes/0ddddb4aa730d54dbbbd to your computer and use it in GitHub Desktop.
<tiles:useAttribute id="jsList" name="jsList" classname="java.util.List"/>
<c:forEach items="${jsList}" var="jsRawLink">
<c:set var="jsLink">${pageContext.request.contextPath}${jsRawLink}</c:set>
<script src="${jsLink}">void(0)</script>
</c:forEach>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment