I have a javascript file "util.js
" which I am using in a jsp file. How to access the application context EL ${pageContext.request.contextPath}
in the javascript file?
This EL is working if the javascript function is copied inside the JSP. But if I keep it in separate javascript file, this is not working.