The order of bootstrap is introduced to modify
<%
//Get the part that starts with / and does not end with /
pageContext.setAttribute("APP_PATH", request.getContextPath());
%>
<script src="${APP_PATH}/static/js/jquery-1.12.4.min.js"></script>
<!-- The latest Bootstrap core JavaScript files -->
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>
<!-- The latest version of Bootstrap's core CSS files -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
You need to introduce JavaScript first, then CSS
Similar Posts:
- When using bootstrap modal box, uncaught typeerror: $(…). Modal is not a function
- Error: Can’t walk dependency graph: Cannot find module ‘@popperjs/core’ from ‘node_modules\bootstrap\dist\js\bootstrap.esm.js’
- bootstrap.min.js:6 Uncaught Error: Bootstrap’s JavaScript requires jQuery at bootstrap.min.js:6
- Bootstrap 4 pull right is invalid [How to Solve]
- [Solved] Elasticsearch Error: maybe these locations are not writable or multiple nodes were started without increasing [node.max_local_storage_nodes] (was [1])?
- Using CEF as user interface
- [Solved] NPM run dev error [npm ERR! code ELIFECYCLE]
- The difference between Top.location and window.location.href
- HTTP status 405 – request method ‘get’ not supported using springmvc
- Python Via get-pip.py Install pip Error: zipimport.ZipImportError: can‘t decompress data; zlib not availabl