I'm looking to import the raphael-min.js
file into my jsp page. Initially, I attempted to use the following code:
<script src="http://cdnjs.cloudflare.com/ajax/libs/raphael/2.1.2/raphael-min.js"></script>
to import the script from an external source. However, I encountered issues with browser blocking the script during rendering. To resolve this, I saved the code locally as a js file and included it using the following snippet:
<script src="${pageContext.request.contextPath}/resources/raphael/raphael-min.js"></script>
Unfortunately, the script is not functioning properly after including it in this manner. Are there any alternative methods for downloading and including this script in a jsp file?