Skip to content

Commit 1eca242

Browse files
committed
Update index.jsp
${pageContext.request.contextPath}
1 parent f858e20 commit 1eca242

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/webapp/WEB-INF/jsp/index.jsp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
<html lang="zh">
55
<head>
66
<title><spring:message code="helloWorld"/></title>
7-
<script src="/static/js/jquery/jquery-1.11.1.min.js"></script>
8-
<script src="/static/js/ajax.js"></script>
7+
<script src="${pageContext.request.contextPath}/static/js/jquery/jquery-1.11.1.min.js"></script>
8+
<script src="${pageContext.request.contextPath}/static/js/ajax.js"></script>
99
<style>
1010
html, body {
1111
margin: 0;

0 commit comments

Comments
 (0)