Dear All

I have a Java web application running under Tomcat 6 , where I need to use an external .js file. My docBase is /erp under /usr/local/tomcat/webapps
I tried putting the script.js file in erp/script.js and erp/jscript/script.js and tried to access this from my html files by saying <script language="javascript" src="/erp/jscript/script.js" > </script> and
<script language="javascript" src="/erp/script.js"> </script>
but both option does'nt seem to work.
When I put these functions in the .html itself , it works.

Can anyone help
My OS Suse Linux 9.2
JDK 1.6

Thanking you in advance