如下,在jsp页面引入了jquery文件,按住ctrl然后鼠标左键点击路径可以正确进入jquery文件,但是jquery在页面上不起任何效果,也不会alert出111是什么原因
<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>登陆页面</title>
<script type="text/javascript" src="/WEB-INF/js/jquery-3.2.1.min.js"></script>
</head>
<script type="text/javascript">
$(document).ready(function(){
alert("111");
});
</script>
<body>
<form action="${pageContext.request.contextPath}/login.action" method="post" >
<table>
<tr>
<td>用户名</td>
<td>
<input type="text" name="username" id="username"/>
</td>
</tr>
<tr>
<td>密码</td>
<td>
<input type="password" name="password" id="password"/>
</td>
</tr>
<tr>
<td><input type="submit" value="登陆"/></td>
</tr>
</table>
</form>
</body>
</html>