web项目中引入jquery库问题

大家帮忙看看这个jsp文件中为何引入不到jquery库,目录结构如我上传的图片
请求到这个页面后报:
SCRIPT5007: 属性“$”的值为 null、未定义或不是 Function 对象

<%@ page language="java" import="java.util.*" pageEncoding="ISO-8859-1"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">


修改你的配置文件example-servlet.xml 加上红色部分即可
<?xml version="1.0" encoding="UTF-8"?>
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:p="http://www.springframework.org/schema/p"
xmlns:context="http://www.springframework.org/schema/context"
[color=red] xmlns:mvc="http://www.springframework.org/schema/mvc" [/color]
xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans.xsd
http://www.springframework.org/schema/context
http://www.springframework.org/schema/context/spring-context.xsd
[color=red] http://www.springframework.org/schema/mvc
http://www.springframework.org/schema/mvc/spring-mvc.xsd"[/color]>
<!-- 指定spring mvc controllerr的扫描 -->

[color=red]<mvc:annotation-driven/> 
<mvc:default-servlet-handler/> 

[/color]

[url]http://jinnianshilongnian.iteye.com/blog/1423971[/url]

改成

路径问题:
需要加全路径:

或者:你当前的项目的url 比如:http://localhost:8080/demo;
那么就写成

路径没问题 因为你用base了
1、clean下服务器 看看 是不是没部署过去
2、有没有filter 难道拦截掉了?

web.xml中这段配置有问题:

example
/

找个简单的SpringMVC的demo,跟这上面进行配置。

跟开涛学SpringMVC
[url]http://www.iteye.com/blogs/subjects/kaitao-springmvc[/url]

呵呵,帮开涛打个广告