bootstrap can be used for jsp pages; jsp pages refer to pages that add java programs and jsp tags to traditional HTML page files. You only need to use the link tag to introduce bootstrap in the jsp page. The syntax is " ".
The operating environment of this tutorial: Windows 10 system, bootstrap version 5, DELL G3 computer
bootstrap can be used for jsp pages
jsp pages refer to pages that add java programs and jsp tags to traditional HTML page files
The extension of JSP pages is .jsp or .jspx, the web server uses this extension to notify the JSP engine to process elements in the page. Other extensions can also be used to contact the JSP engine through the deployment descriptor file web.xml.
How to use bootstrap in jsp:
1. Create a new webroot project. Add the res folder to the webroot and add the downloaded bootstrap folder into it
2. Reference css and js files on the required pages
Change the href of Link to the path of min.css in bootstrap
Or use
3. Simple application
Related recommendations: bootstrap tutorial
The above is the detailed content of Can bootstrap be used for jsp pages?. For more information, please follow other related articles on the PHP Chinese website!