myeclipse中如何使用
myeclipse中如何使用bootstrap,在寫的時候是不是需要路徑呀,還是怎么樣呀,老師,像這樣,完全沒有用:
<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
? <head>
? ? <base href="<%=basePath%>">
? ??
? ? <meta charset="UTF-8">
<title>bootstrap</title>
<link rel="stylesheet" type="text/css" href="dist/css/bootstrap.main.css">
<script src="jquery/jquery-1.7.2.main.js"></script>
<script src="/js/bootstrap.min.js"></script>
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0"> ? ?
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
? </head>
??
? <body>
? ? <button class="btn btn-info>hello world!</button>
? </body>
</html>
2018-12-20
可能你的JQuery版本太低