web项目中引入jquery库问题

附件test.zip是我的工程
大家帮忙看看这个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">







$(document).ready(function(){ alert("index"); });


index


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

example
/

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

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

修改你的配置文件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]