My global.js file serves as a common JavaScript file across my project.
I recently added some code to a function named 'test' in this file.
However, I only want this code to run when the function is called from a specific JSP file called home.jsp, and not from any other JSP.
Does anyone know how I can achieve this?