Home >Web Front-end >Bootstrap Tutorial >How to use bootstrap in jsp

How to use bootstrap in jsp

angryTom
angryTomOriginal
2019-07-27 17:43:045307browse

How to use bootstrap in jsp

If you want to know more about bootstrap, you can click: BootStrsp tutorial

Using jsp to develop websites is also a common dynamic website development model. So how to apply bootstrap in jsp? Below we will introduce to you 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

How to use bootstrap in jsp

#2. Reference css and js files on the required pages

How to use bootstrap in jsp

Change the href of Link to the path of min.css in bootstrap

How to use bootstrap in jsp

Or use &lt ;link rel="stylesheet" type="text/css" href="../../res/bootstrap/css/bootstrap.min.css">

##3 , perform simple applications

How to use bootstrap in jsp#

The above is the detailed content of How to use bootstrap in jsp. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn