0

i am trying to load the js file in spring mvc project.

although i done the mapping in servlet file but still the file not getting loaded.

Here is the jsp file

enter image description here

here is the mapping file

enter image description here

Even i tried this

<script type="text/javascript" src="/resources/app.js"></script>

But things are not working

Please help

7
  • Hope this will help: stackoverflow.com/questions/7836930/… Commented Jun 6, 2016 at 14:43
  • @soorapadman in my project webapp folder was missing , created the resources folder put my js file ... but still things are not working Commented Jun 6, 2016 at 14:57
  • did you move resources folder under Webcontent folder? Commented Jun 6, 2016 at 14:59
  • yeah .. but still no success Commented Jun 6, 2016 at 15:00
  • Yours not maven project right? Commented Jun 6, 2016 at 15:00

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.