Below is my directory structure. My salesAdmin-AddRemoveClass.jsp (under WebContent) is trying to use and access salesAdmin-Modal.js but not being able to.
In my salesAdmin-AddRemoveClass, I have this line to point towards the javascript file
<script type="text/javascript" src="/WebContent/resource/js/salesAdmin-Modal.js"></script>
I don't know what is wrong with absolute path that I have given.
I'm new to web application world so forgive me if it's a silly mistake/question.
Any help will be appreciated.

Aucun commentaire:
Enregistrer un commentaire