Check than jQuery properly connected to the page. Following advices can be useful:
- Try include jQuery from google apis e.g.
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.js"></script>
- Use url tag lib:
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<script src="<c:url value="/resources/js/jQuery/jquery.js" />" ></script>