jspパスの問題はエラーではありません


コードパス:
参照
webapp
|-jsp
|-resource
  |-js
  |-css
jspでjsとcssを見つける方法
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<link type="text/css" href="<%= basePath%>/resource/css/smoothness/jquery-ui-1.8.18.custom.css" rel="stylesheet" />
<script type="text/javascript" src="<%= basePath%>/resource/js/jquery-1.7.1.min.js"></script>
<script type="text/javascript" src="<%= basePath%>/resource/js/jquery-ui-1.8.18.custom.min.js"></script>