I am new to bootstrap and doing small examples by seeing the example.I have downloaded the bootstrap css files from bootstrap and I am using bootstrap 3.I am just creating a nav bar and following is my code
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Employee Directory</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<script src="jquery/jquery-1.9.1.min.js"></script>
<!--<link href="bootstrap/css/bootstrap.min.css" rel="stylesheet" media="screen">-->
<link rel="stylesheet" href="http://netdna.bootstrapcdn.com/bootstrap/3.1.0/css/bootstrap.min.css">
<script src="bootstrap/js/bootstrap.min.js"></script>
<link rel="stylesheet" href="icomoon/style.css">
</head>
<body>
<div class="navbar navbar-default navbar-fixed-top">
<div class="navbar-header"><a class="navbar-brand" href="#">Brand</a></div>
<ul class="nav navbar-nav">
<li><a href="#">Link</a></li>
<li><a href="#">More</a></li>
<li><a href="#">Options</a></li>
</ul>
<ul class="nav navbar-nav pull-right">
<li class="active"><a href="#">Home</a></li>
</ul>
</div>
</body>
</html>
my app name is gift
If I am accessing the file from tomcat server like http://localhost:8080/gift/index.html then I am getting error.Please see the screenshot
But if right click on the index.html and open it google chrome then I am not getting any error. (the below image) Please tell me why is it so?

jquerybefore</body>. And try to check each of the error by clicking on them in the browser. It may helphttp:from the src inclusion and then add the bootstrap file =>href="//netdna.bootstrapcdn.com/bootstrap/3.1.0/css/bootstrap.min.css"<link href="http://netdna.bootstrapcdn.com/bootstrap/3.1.0/css/bootstrap.min.css" rel="stylesheet" media="screen">still the same.I have also downloaded the bootstrap.min.css and kept that in the css folder and tried this way<link href="bootstrap/css/bootstrap.min.css" rel="stylesheet" media="screen">still the samehttp, you actually need it. and put the jquery code before the</body>tag