title: How to get the JSP page name in Java Script included?
body: <p>I have two JSP files a.jsp and b.jsp which shares common ".js" file. Is there any way that I can find from which jsp file the function inside common script is invoked, Without passing any parameter while calling the script function.</p>