Friends,
Im having problem with accessing a JS file placed in another folder from a JSP popup.
I tried all the following:
<SCRIPT LANGUAGE="JavaS cript1.1"
SRC="../js/SpellCheckForm. js"></SCRIPT>
<SCRIPT LANGUAGE="JavaS cript1.1"
SRC="/js/SpellCheckForm. js"></SCRIPT>
<SCRIPT LANGUAGE="JavaS cript1.1"
SRC="<%=request .getContextPath ()%>/js/SpellCheckForm. js"></SCRIPT>
No options worked.
I am accessing files this way in other JSP files.
Not sure what can be the issue in one particular case?? Any pointers to debug?
the folder structure is as follows:
-webContent
----JSP
----JS
Regards,
Leena
Im having problem with accessing a JS file placed in another folder from a JSP popup.
I tried all the following:
<SCRIPT LANGUAGE="JavaS cript1.1"
SRC="../js/SpellCheckForm. js"></SCRIPT>
<SCRIPT LANGUAGE="JavaS cript1.1"
SRC="/js/SpellCheckForm. js"></SCRIPT>
<SCRIPT LANGUAGE="JavaS cript1.1"
SRC="<%=request .getContextPath ()%>/js/SpellCheckForm. js"></SCRIPT>
No options worked.
I am accessing files this way in other JSP files.
Not sure what can be the issue in one particular case?? Any pointers to debug?
the folder structure is as follows:
-webContent
----JSP
----JS
Regards,
Leena
Comment