Hi i got a jsp page which uses an external .js file and also some internal javascript too...
the problem is that none of the functions that inside the external .js file are recognized inside the jsp.
But...
if i copy the source code of the jsp into an html page and will browse it , it will work perfect....
I'm using tomcat 6.13 coding on Netbeans 6.0 using Struts/Tiles framework...
Internet Explorer gives me the following error: "Object Expected"
what could be the problem?
My problem was:
I called the .js in the following way
<script language="javascript" type="text/javascript" src="/js/exter.js"></script>
while i needed this (Note the ".." in the srs path)
<script language="javascript" type="text/javascript" src="../js/buttonOverOut.js"></script>
:)