1

It seems basic thing but I couldn't figure it out after tried so long.

enter image description here

This is how my project structure. Following paths I have tried in my index.jsp but not able to load.

1) <script src="./resources/js/jquery-ui-1.12.1/jquery.js"></script>
<script src="./resources/js/jquery-ui-1.12.1/jquery-ui.js"></script>

2) <script src="../../../resources/js/jquery-ui-1.12.1/jquery.js"></script>
<script src="../../../resources/js/jquery-ui-1.12.1/jquery-ui.js"></script>

3) <script src="../../resources/js/jquery-ui-1.12.1/jquery.js"></script>
 <script src="../../resources/js/jquery-ui-1.12.1/jquery-ui.js"></script>

Can you suggest me on this? Thanks All !!

Error: enter image description here

Sachin J
  • 2,081
  • 12
  • 36
  • 50

1 Answers1

0

I do not have enough reputation points to post a comment.

try to load the resources by following the server root.

If you start your link with a "/" the directory search will start at the server root.

So try "/resources/js/....."

Chin. Udara
  • 694
  • 4
  • 19