亲爱的,
我遵循了以下步骤:
1) 从下载引导程序
http://getbootstrap.com/
2) 在eclipse中创建动态web项目。
3) 确保此动态web项目可以在服务器上运行。
4) 在WebContent文件夹下,创建一个引导文件夹。
5) 从下载的引导程序导入以下文件
将资源放入新创建的文件夹中,即步骤3中的“bootstrap”。css
由引导程序组成的文件夹。min.css js包括
独自创立由图像组成的min.js img创建索引。jsp和put
标签内的以下内容
但我的html似乎看不到css,我甚至写了这行代码作为测试,但什么都没有出现
<div class="alert alert-info">
<strong>Info!</strong> Indicates a neutral informative change or action.
</div>
这是整个索引。html页面:
<!DOCTYPE html>
<html>
<head>
<link href=âbootstrap/bootstrap.min.cssâ rel=âstylesheetâ type=âtext/cssâ />
<meta charset="ISO-8859-1">
<title>Insert title here</title>
</head>
<body>
<div class="alert alert-info">
<strong>Info!</strong> Indicates a neutral informative change or action.
</div>
</body>
</html>