I am getting an error like this:
JSP : Code too large in compilation of jsp page
I have around 500 lines of javaScript code in my JSP. Is it resolve if move script code to another JS file?
I am getting an error like this:
JSP : Code too large in compilation of jsp page
I have around 500 lines of javaScript code in my JSP. Is it resolve if move script code to another JS file?
I think you should introduce js as an external js.
<script src="${pageContext.request.contextPath}/static/js/jquery-3.3.1.js" type="text/JavaScript"></script>